mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
[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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue