X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=kernel%2Fintermodule.c;h=9078649382cfe58188371a0b6149a6b472b38069;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=09f556507f57cc450519fd26652f08fb86f70651;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/kernel/intermodule.c b/kernel/intermodule.c index 09f556507..907864938 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 {