Changeset 107


Ignore:
Timestamp:
May 20, 2007, 9:52:39 AM (18 years ago)
Author:
Brendan Oakley
Message:

Fixed missing symbols atomic_dec_and_test and udelay

Location:
GPL/branches/alsa-resync1/alsa-kernel/include/sound
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/alsa-resync1/alsa-kernel/include/sound/adriver.h

    r102 r107  
    207207#define schedule_work(w) snd_compat_schedule_work(w)
    208208
     209#ifndef CONFIG_HAVE_MSLEEP_INTERRUPTIBLE
     210#include <linux/delay.h>
     211unsigned long snd_compat_msleep_interruptible(unsigned int msecs);
     212#define msleep_interruptible snd_compat_msleep_interruptible
     213#ifndef ssleep
     214#define ssleep(x) msleep((unsigned int)(x) * 1000)
     215#endif
     216#endif
     217
    209218#ifndef PCI_D0
    210219#define PCI_D0     0
  • GPL/branches/alsa-resync1/alsa-kernel/include/sound/compat_22.h

    r97 r107  
    470470#endif
    471471
     472#include <asm/atomic.h>
    472473#define ATOMIC_INIT(i)  { (i) }
    473 #if 0 /* Brendan: This is not ALSA code but something added. Fails compile?  */
    474474/**
    475475 * atomic_dec_and_test - decrement and test
     
    488488    return 0;
    489489}
    490 #endif /* Brendan */
    491490
    492491/**
Note: See TracChangeset for help on using the changeset viewer.