Properly clean "spurious interrupt" state

Suggested by: Ian Lepore
This commit is contained in:
Oleksandr Tymoshenko 2013-04-06 03:31:28 +00:00
parent 64277b97f9
commit 08dab5832b

View File

@ -157,6 +157,7 @@ arm_get_next_irq(int last_irq)
if ((active_irq & 0xffffff80)) {
device_printf(ti_aintc_sc->sc_dev,
"Spurious interrupt detected (0x%08x)\n", active_irq);
aintc_write_4(INTC_SIR_IRQ, 0);
return -1;
}