Commit de02781e authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Linus Torvalds

[PATCH] Lock initializer cleanup: M68K

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 6ec38b86
......@@ -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)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment