diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-10-03 09:42:02 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-10-03 12:59:17 -0400 |
commit | 34c2dd01fd10268fb8f362c8275f75517770e286 (patch) | |
tree | 4f3e1f05e544ed090e8231cb599fec76fcea4d8d | |
parent | d599def5cd81439e7da04dc6754b257043f5e584 (diff) |
[MIPS] BCM1480: Mask pending interrupts against c0_status.im.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | arch/mips/sibyte/bcm1480/irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/sibyte/bcm1480/irq.c b/arch/mips/sibyte/bcm1480/irq.c index a0222fa4416c..a46b75b23ecb 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) | |||
482 | write_c0_compare(read_c0_count()); | 482 | write_c0_compare(read_c0_count()); |
483 | #endif | 483 | #endif |
484 | 484 | ||
485 | pending = read_c0_cause(); | 485 | pending = read_c0_cause() & read_c0_status(); |
486 | 486 | ||
487 | #ifdef CONFIG_SIBYTE_BCM1480_PROF | 487 | #ifdef CONFIG_SIBYTE_BCM1480_PROF |
488 | if (pending & CAUSEF_IP7) /* Cpu performance counter interrupt */ | 488 | if (pending & CAUSEF_IP7) /* Cpu performance counter interrupt */ |