From 665deff5534aa9d96df0d6d6b302e29eb23f04e6 Mon Sep 17 00:00:00 2001 From: Akinobu Mita Date: Sat, 28 Aug 2010 13:25:33 +0900 Subject: [PATCH] --- yaml --- r: 210117 b: refs/heads/master c: 3182c8a72b31414e043184a97b0d5d3c0d590168 h: refs/heads/master i: 210115: 1b5b6f95bf1729bb56c9361f3e7d67d37cfe1b7f v: v3 --- [refs] | 2 +- trunk/sound/oss/sound_timer.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 142999332546..71b805cf5cd5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 60f1deb595c08687a96157a6a3ce08ef34142362 +refs/heads/master: 3182c8a72b31414e043184a97b0d5d3c0d590168 diff --git a/trunk/sound/oss/sound_timer.c b/trunk/sound/oss/sound_timer.c index f0f0c19fbff7..48cda6c4c257 100644 --- a/trunk/sound/oss/sound_timer.c +++ b/trunk/sound/oss/sound_timer.c @@ -26,7 +26,7 @@ static unsigned long prev_event_time; static volatile unsigned long usecs_per_tmr; /* Length of the current interval */ static struct sound_lowlev_timer *tmr; -static spinlock_t lock; +static DEFINE_SPINLOCK(lock); static unsigned long tmr2ticks(int tmr_value) {