vserver 1.9.5.x5
[linux-2.6.git] / arch / m68k / atari / stram.c
index 9ab7d81..53e2dc3 100644 (file)
@@ -1034,7 +1034,7 @@ static struct block_device_operations stram_fops = {
 
 static struct gendisk *stram_disk;
 static struct request_queue *stram_queue;
-static spinlock_t stram_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(stram_lock);
 
 int __init stram_device_init(void)
 {