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

Commit 48d480b0 authored by Ralf Baechle's avatar Ralf Baechle
Browse files

[MIPS] Malta: Fix off by one bug in interrupt handler.



Fairly cosmetic as it would only affect VSMP / SMTC kernels that don't
use vectored interrupts.

Found by Beth.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 6440fcfc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -256,7 +256,7 @@ asmlinkage void plat_irq_dispatch(void)

	if (irq == MIPSCPU_INT_I8259A)
		malta_hw0_irqdispatch();
	else if (irq > 0)
	else if (irq >= 0)
		do_IRQ(MIPS_CPU_IRQ_BASE + irq);
	else
		spurious_interrupt();