Commit 34c2dd01 authored by Ralf Baechle's avatar Ralf Baechle

[MIPS] BCM1480: Mask pending interrupts against c0_status.im.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent d599def5
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment