git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
drivers
/
scsi
/
esp.c
diff --git
a/drivers/scsi/esp.c
b/drivers/scsi/esp.c
index
782c31b
..
d8ab73b
100644
(file)
--- a/
drivers/scsi/esp.c
+++ b/
drivers/scsi/esp.c
@@
-185,7
+185,7
@@
enum {
/* The master ring of all esp hosts we are managing in this driver. */
static struct esp *espchain;
/* The master ring of all esp hosts we are managing in this driver. */
static struct esp *espchain;
-static
spinlock_t espchain_lock = SPIN_LOCK_UNLOCKED
;
+static
DEFINE_SPINLOCK(espchain_lock)
;
static int esps_running = 0;
/* Forward declarations. */
static int esps_running = 0;
/* Forward declarations. */