Commit f7a75f0a authored by Roel Kluin's avatar Roel Kluin Committed by Linus Torvalds

spin_lock_unlocked cleanups

Replace some SPIN_LOCK_UNLOCKED with DEFINE_SPINLOCK
Signed-off-by: 's avatarRoel Kluin <12o3l@tiscali.nl>
Acked-by: 's avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: 's avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: 's avatarLinus Torvalds <torvalds@linux-foundation.org>
parent d68c9d6a
......@@ -206,7 +206,7 @@ static void pci_proc_init(void)
}
#endif /* CONFIG_PROC_FS && PCI_COUNTERS */
spinlock_t bpci_lock = SPIN_LOCK_UNLOCKED;
DEFINE_SPINLOCK(bpci_lock);
/*****************************************************************************
*
......
......@@ -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
......
......@@ -24,9 +24,9 @@
DEFINE_MUTEX(sysfs_mutex);
DEFINE_MUTEX(sysfs_rename_mutex);
spinlock_t sysfs_assoc_lock = SPIN_LOCK_UNLOCKED;
DEFINE_SPINLOCK(sysfs_assoc_lock);
static spinlock_t sysfs_ino_lock = SPIN_LOCK_UNLOCKED;
static DEFINE_SPINLOCK(sysfs_ino_lock);
static DEFINE_IDA(sysfs_ino_ida);
/**
......
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