X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fmips%2Fdec%2Fkn02-irq.c;h=e0bfcd1521e29e70b7c1c03261841ce4fa8ba85e;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=dfa505e7f28bf68b12e84b2e819fa9716fc2d246;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/arch/mips/dec/kn02-irq.c b/arch/mips/dec/kn02-irq.c index dfa505e7f..e0bfcd152 100644 --- a/arch/mips/dec/kn02-irq.c +++ b/arch/mips/dec/kn02-irq.c @@ -29,7 +29,7 @@ * There is no default value -- it has to be initialized. */ u32 cached_kn02_csr; -spinlock_t kn02_lock = SPIN_LOCK_UNLOCKED; +DEFINE_SPINLOCK(kn02_lock); static int kn02_irq_base;