mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
genirq: Fixup fasteoi handler for oneshot mode
The fasteoi handler must mask the interrupt line in oneshot mode otherwise we end up with an irq storm. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
8d32a307e4
commit
c69e3758ff
@ -513,6 +513,10 @@ handle_fasteoi_irq(unsigned int irq, struct irq_desc *desc)
|
||||
mask_irq(desc);
|
||||
goto out;
|
||||
}
|
||||
|
||||
if (desc->istate & IRQS_ONESHOT)
|
||||
mask_irq(desc);
|
||||
|
||||
preflow_handler(desc);
|
||||
handle_irq_event(desc);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user