X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=arch%2Falpha%2Fkernel%2Fsys_titan.c;h=5f84417eeb7bee9502d0da72805bc895b864ca0f;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=4466af674bc0075e50daf4a4038983c74afdb7e3;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/arch/alpha/kernel/sys_titan.c b/arch/alpha/kernel/sys_titan.c index 4466af674..5f84417ee 100644 --- a/arch/alpha/kernel/sys_titan.c +++ b/arch/alpha/kernel/sys_titan.c @@ -19,12 +19,12 @@ #include #include #include +#include #include #include #include #include -#include #include #include #include @@ -56,7 +56,7 @@ static unsigned long titan_cached_irq_mask; /* * Need SMP-safe access to interrupt CSRs */ -spinlock_t titan_irq_lock = SPIN_LOCK_UNLOCKED; +DEFINE_SPINLOCK(titan_irq_lock); static void titan_update_irq_hw(unsigned long mask)