Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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

parent d599def5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */