From: Ralf Baechle Date: Tue, 3 Oct 2006 13:42:02 +0000 (+0100) Subject: [MIPS] BCM1480: Mask pending interrupts against c0_status.im. X-Git-Tag: v2.6.19-rc1~169^2~3 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34c2dd01fd10268fb8f362c8275f75517770e286;p=linux-2.6 [MIPS] BCM1480: Mask pending interrupts against c0_status.im. Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/sibyte/bcm1480/irq.c b/arch/mips/sibyte/bcm1480/irq.c index a0222fa441..a46b75b23e 100644 --- a/arch/mips/sibyte/bcm1480/irq.c +++ b/arch/mips/sibyte/bcm1480/irq.c @@ -482,7 +482,7 @@ asmlinkage void plat_irq_dispatch(struct pt_regs *regs) write_c0_compare(read_c0_count()); #endif - pending = read_c0_cause(); + pending = read_c0_cause() & read_c0_status(); #ifdef CONFIG_SIBYTE_BCM1480_PROF if (pending & CAUSEF_IP7) /* Cpu performance counter interrupt */