Browse Source

[S390] cio: Remember to initialize recovery_lock.

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cornelia Huck 17 years ago
parent
commit
486d0a0079
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/s390/cio/device.c

+ 1 - 1
drivers/s390/cio/device.c

@@ -32,7 +32,7 @@
 #include "io_sch.h"
 #include "io_sch.h"
 
 
 static struct timer_list recovery_timer;
 static struct timer_list recovery_timer;
-static spinlock_t recovery_lock;
+static DEFINE_SPINLOCK(recovery_lock);
 static int recovery_phase;
 static int recovery_phase;
 static const unsigned long recovery_delay[] = { 3, 30, 300 };
 static const unsigned long recovery_delay[] = { 3, 30, 300 };