Changeset 447
- Timestamp:
- Jun 8, 2009, 11:05:11 PM (16 years ago)
- Location:
- GPL/trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/alsa-kernel/core/init.c
r445 r447 36 36 #include <sound/info.h> 37 37 38 #ifndef TARGET_OS239 38 static DEFINE_SPINLOCK(shutdown_lock); 40 #else41 spinlock_t shutdown_lock = SPIN_LOCK_UNLOCKED;42 #endif43 39 static LIST_HEAD(shutdown_files); 44 40 -
GPL/trunk/alsa-kernel/core/seq/oss/seq_oss_midi.c
r399 r447 57 57 static struct seq_oss_midi *midi_devs[SNDRV_SEQ_OSS_MAX_MIDI_DEVS]; 58 58 59 #ifndef TARGET_OS260 59 static DEFINE_SPINLOCK(register_lock); 61 #else62 spinlock_t register_lock = SPIN_LOCK_UNLOCKED;63 #endif64 65 60 66 61 /* -
GPL/trunk/alsa-kernel/core/seq/oss/seq_oss_synth.c
r399 r447 76 76 }; 77 77 78 #ifndef TARGET_OS279 78 static DEFINE_SPINLOCK(register_lock); 80 #else81 spinlock_t register_lock = SPIN_LOCK_UNLOCKED;82 #endif83 79 84 80 /* -
GPL/trunk/alsa-kernel/core/seq/seq_clientmgr.c
r445 r447 65 65 #define SNDRV_SEQ_LFLG_OPEN (SNDRV_SEQ_LFLG_INPUT|SNDRV_SEQ_LFLG_OUTPUT) 66 66 67 #ifndef TARGET_OS268 67 static DEFINE_SPINLOCK(clients_lock); 69 #else70 static spinlock_t clients_lock = SPIN_LOCK_UNLOCKED;71 #endif72 68 static DEFINE_MUTEX(register_mutex); 73 69 -
GPL/trunk/alsa-kernel/core/seq/seq_queue.c
r399 r447 49 49 /* list of allocated queues */ 50 50 static struct snd_seq_queue *queue_list[SNDRV_SEQ_MAX_QUEUES]; 51 #ifndef TARGET_OS252 51 static DEFINE_SPINLOCK(queue_list_lock); 53 #else 54 static spinlock_t queue_list_lock = SPIN_LOCK_UNLOCKED; 55 #endif 52 56 53 /* number of queues allocated */ 57 54 static int num_queues; -
GPL/trunk/alsa-kernel/core/timer.c
r445 r447 80 80 81 81 /* lock for slave active lists */ 82 #ifndef TARGET_OS283 82 static DEFINE_SPINLOCK(slave_active_lock); 84 #else85 static spinlock_t slave_active_lock = SPIN_LOCK_UNLOCKED;86 #endif87 83 88 84 static DEFINE_MUTEX(register_mutex); -
GPL/trunk/include/linux/spinlock.h
r441 r447 80 80 #define rwlock_init(x) *(x) = RW_LOCK_UNLOCKED; 81 81 82 #define DEFINE_SPINLOCK(x) spinlock_t x = SPIN_LOCK_UNLOCKED 82 83 #endif /* !SMP */ 83 84 #endif /* __LINUX_SPINLOCK_H */
Note:
See TracChangeset
for help on using the changeset viewer.