2008-02-19 14:45:56

by Martin Schwidefsky

[permalink] [raw]
Subject: [patch 01/13] cio: Remember to initialize recovery_lock.

From: Cornelia Huck <[email protected]>

Signed-off-by: Cornelia Huck <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
---

drivers/s390/cio/device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: quilt-2.6/drivers/s390/cio/device.c
===================================================================
--- quilt-2.6.orig/drivers/s390/cio/device.c
+++ quilt-2.6/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 };


--
blue skies,
Martin.

"Reality continues to ruin my life." - Calvin.