X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fmips%2Fkernel%2Fmodule.c;h=458af3c7a6396135e8be613bf28617ad7e022886;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=581687080082b8cc29d9974ea1b09a7fc309e00b;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/arch/mips/kernel/module.c b/arch/mips/kernel/module.c index 581687080..458af3c7a 100644 --- a/arch/mips/kernel/module.c +++ b/arch/mips/kernel/module.c @@ -2,7 +2,7 @@ #include static LIST_HEAD(dbe_list); -static spinlock_t dbe_lock = SPIN_LOCK_UNLOCKED; +static DEFINE_SPINLOCK(dbe_lock); /* Given an address, look for it in the module exception tables. */ const struct exception_table_entry *search_module_dbetables(unsigned long addr)