mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
spin_lock_unlocked cleanups
Replace some SPIN_LOCK_UNLOCKED with DEFINE_SPINLOCK Signed-off-by: Roel Kluin <[email protected]> Acked-by: Thomas Gleixner <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
d68c9d6ae8
commit
f7a75f0a40
3 changed files with 4 additions and 4 deletions
|
|
@ -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);
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue