X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=arch%2Fmips%2Fgt64120%2Fev64120%2Firq.c;h=3b186159b21a17b9a1763736d736f550e1e0918f;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=537eab3fd314689289c7894a78e5cb6a76a1a03f;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/arch/mips/gt64120/ev64120/irq.c b/arch/mips/gt64120/ev64120/irq.c index 537eab3fd..3b186159b 100644 --- a/arch/mips/gt64120/ev64120/irq.c +++ b/arch/mips/gt64120/ev64120/irq.c @@ -39,7 +39,7 @@ #include #include #include -#include +#include #include #include #include @@ -119,7 +119,7 @@ void gt64120_irq_setup(void) /* Sets the exception_handler array. */ set_except_vector(0, galileo_handle_int); - cli(); + local_irq_disable(); /* * Enable timer. Other interrupts will be enabled as they are @@ -128,7 +128,7 @@ void gt64120_irq_setup(void) set_c0_status(IE_IRQ2); } -void __init init_IRQ(void) +void __init arch_init_irq(void) { int i; @@ -138,7 +138,7 @@ void __init init_IRQ(void) irq_desc[i].handler = &no_irq_type; irq_desc[i].action = NULL; irq_desc[i].depth = 0; - irq_desc[i].lock = SPIN_LOCK_UNLOCKED; + spin_lock_init(&irq_desc[i].lock); } gt64120_irq_setup();