From 34c2dd01fd10268fb8f362c8275f75517770e286 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Tue, 3 Oct 2006 14:42:02 +0100 Subject: [MIPS] BCM1480: Mask pending interrupts against c0_status.im. Signed-off-by: Ralf Baechle --- arch/mips/sibyte/bcm1480/irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/mips/sibyte') diff --git a/arch/mips/sibyte/bcm1480/irq.c b/arch/mips/sibyte/bcm1480/irq.c index a0222fa4416..a46b75b23ec 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 */ -- cgit v1.2.3