X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fmips%2Fkernel%2Fmodule.c;h=458af3c7a6396135e8be613bf28617ad7e022886;hb=f7f1b0f1e2fbadeab12d24236000e778aa9b1ead;hp=581687080082b8cc29d9974ea1b09a7fc309e00b;hpb=5fc42a6ed0ec81088c37caadb45898ae6cd0ad2c;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)