Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2005-01-20 16:20:50 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-01-20 16:20:50 -0800
commitde02781e017e81f273e7062c342f615a6e110471 (patch)
treeab12acfa751e2cff4d9b5f419fa746d09b5cac47
parent6ec38b86884e16de2a1c0744e3fab1526e4360d5 (diff)
[PATCH] Lock initializer cleanup: M68K
Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--arch/m68k/atari/stram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/atari/stram.c b/arch/m68k/atari/stram.c
index f7cfaa6db534..7ed86e722698 100644
--- a/arch/m68k/atari/stram.c
+++ b/arch/m68k/atari/stram.c
@@ -1033,7 +1033,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)
{