-
Alessandro Rubini authored
When handling the interrupt, mask the pending bits with the not-empty mask, otherwise an unexpected trigger-ready status may overflow the for loop and eventually oops to panic. Meanwhile, use a symbolic name for the mask and be more aggressive in disabling (disable all bits: ho harm done for unimplemented interrupt sources) Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
f15dee00