X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sound%2Foss%2Fsys_timer.c;h=6afe29b763b747e5b9b4839e35ccddb03b668b91;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=3b7fa02cb29b25e4069bf5012f607a68a0b9c4f1;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/sound/oss/sys_timer.c b/sound/oss/sys_timer.c index 3b7fa02cb..6afe29b76 100644 --- a/sound/oss/sys_timer.c +++ b/sound/oss/sys_timer.c @@ -27,7 +27,7 @@ static volatile unsigned long next_event_time; static unsigned long prev_event_time; static void poll_def_tmr(unsigned long dummy); -static spinlock_t lock=SPIN_LOCK_UNLOCKED; +static DEFINE_SPINLOCK(lock); static struct timer_list def_tmr = TIMER_INITIALIZER(poll_def_tmr, 0, 0);