From: Cornelia Huck Date: Tue, 19 Feb 2008 14:29:23 +0000 (+0100) Subject: [S390] cio: Remember to initialize recovery_lock. X-Git-Tag: v2.6.25-rc3~121^2~12 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=486d0a0079eb782cdb73f18246e26076c615a020;p=linux-2.6 [S390] cio: Remember to initialize recovery_lock. Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky --- diff --git a/drivers/s390/cio/device.c b/drivers/s390/cio/device.c index d35dc3f25d..676b47e07e 100644 --- a/drivers/s390/cio/device.c +++ b/drivers/s390/cio/device.c @@ -32,7 +32,7 @@ #include "io_sch.h" static struct timer_list recovery_timer; -static spinlock_t recovery_lock; +static DEFINE_SPINLOCK(recovery_lock); static int recovery_phase; static const unsigned long recovery_delay[] = { 3, 30, 300 };