spin_lock_unlocked cleanups
Replace some SPIN_LOCK_UNLOCKED with DEFINE_SPINLOCK Signed-off-by: Roel Kluin <12o3l@tiscali.nl> Acked-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
d68c9d6ae8
commit
f7a75f0a40
@@ -34,7 +34,7 @@
|
||||
#include <asm/mmu.h>
|
||||
#include <asm/spu.h>
|
||||
|
||||
static spinlock_t slice_convert_lock = SPIN_LOCK_UNLOCKED;
|
||||
static DEFINE_SPINLOCK(slice_convert_lock);
|
||||
|
||||
|
||||
#ifdef DEBUG
|
||||
|
Reference in New Issue
Block a user