git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
sound
/
oss
/
sys_timer.c
diff --git
a/sound/oss/sys_timer.c
b/sound/oss/sys_timer.c
index
3b7fa02
..
6afe29b
100644
(file)
--- 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);