forked from luck/tmp_suning_uos_patched
[MIPS] BCM1480: Mask pending interrupts against c0_status.im.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
d599def5cd
commit
34c2dd01fd
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue
Block a user