diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2005-01-07 22:09:06 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@evo.osdl.org> | 2005-01-07 22:09:06 -0800 |
commit | 44b7f61e2868c2d4895c93b0d3382389a7a66f6b (patch) | |
tree | 1c05de8fbd29e7fa658d24af65842b029e6e860c /lib | |
parent | c254df93a2064d49effb25dce3a9dc37982f8b53 (diff) | |
download | history-44b7f61e2868c2d4895c93b0d3382389a7a66f6b.tar.gz |
[PATCH] Lock initializer cleanup (Core)
Kernel core files converted to use the new lock initializers.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/kobject_uevent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kobject_uevent.c b/lib/kobject_uevent.c index 5c78b2187ce264..2a4e7671eaf408 100644 --- a/lib/kobject_uevent.c +++ b/lib/kobject_uevent.c @@ -179,7 +179,7 @@ static inline int send_uevent(const char *signal, const char *obj, #ifdef CONFIG_HOTPLUG char hotplug_path[HOTPLUG_PATH_LEN] = "/sbin/hotplug"; u64 hotplug_seqnum; -static spinlock_t sequence_lock = SPIN_LOCK_UNLOCKED; +static DEFINE_SPINLOCK(sequence_lock); /** * kobject_hotplug - notify userspace by executing /sbin/hotplug |