提交 34c2dd01 编写于 作者: R Ralf Baechle

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

Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册