]> err.no Git - linux-2.6/commitdiff
[S390] cio: Remember to initialize recovery_lock.
authorCornelia Huck <cornelia.huck@de.ibm.com>
Tue, 19 Feb 2008 14:29:23 +0000 (15:29 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 19 Feb 2008 14:29:32 +0000 (15:29 +0100)
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/device.c

index d35dc3f25d06ec3a392a35da8617ca85d4da70f7..676b47e07ed0a336fb1df81b80dfb07547c6c089 100644 (file)
@@ -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 };