MIPS: Loongson: Remove redundant local_irq_disable()
authorWu Zhangjin <wuzhangjin@gmail.com>
Thu, 8 Oct 2009 12:39:50 +0000 (20:39 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 2 Nov 2009 11:00:02 +0000 (12:00 +0100)
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 f368c735cbd33b4389aed0f1f666af4fca01fceb..b32b4a3e513772b94b7376218ceeaa699631bed8 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();