MIPS: Loongson: Remove redundant local_irq_disable()
Wu Zhangjin [Thu, 8 Oct 2009 12:39:50 +0000 (20:39 +0800)]
That code is executed with irq disabled already, so, remove the redundant
local_irq_disable() here.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

arch/mips/loongson/common/irq.c

index f368c73..b32b4a3 100644 (file)
@@ -55,7 +55,6 @@ void __init arch_init_irq(void)
         * int-handler is not on bootstrap
         */
        clear_c0_status(ST0_IM | ST0_BEV);
-       local_irq_disable();
 
        /* setting irq trigger mode */
        set_irq_trigger_mode();