From 44b7f61e2868c2d4895c93b0d3382389a7a66f6b Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 7 Jan 2005 22:09:06 -0800 Subject: [PATCH] Lock initializer cleanup (Core) Kernel core files converted to use the new lock initializers. Signed-off-by: Thomas Gleixner Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- kernel/intermodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel/intermodule.c') diff --git a/kernel/intermodule.c b/kernel/intermodule.c index 09f556507f57..9078649382cf 100644 --- a/kernel/intermodule.c +++ b/kernel/intermodule.c @@ -14,7 +14,7 @@ */ static struct list_head ime_list = LIST_HEAD_INIT(ime_list); -static spinlock_t ime_lock = SPIN_LOCK_UNLOCKED; +static DEFINE_SPINLOCK(ime_lock); static int kmalloc_failed; struct inter_module_entry { -- cgit v1.2.3