genirq: Move IRQ_ONESHOT to core

No users outside of core.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Thomas Gleixner
2011-02-07 21:02:10 +01:00
parent 009b4c3b8a
commit 3d67baec7f
4 changed files with 7 additions and 6 deletions

View File

@@ -472,7 +472,7 @@ handle_level_irq(unsigned int irq, struct irq_desc *desc)
handle_irq_event(desc);
if (!(desc->status & (IRQ_DISABLED | IRQ_ONESHOT)))
if (!(desc->status & IRQ_DISABLED) && !(desc->istate & IRQS_ONESHOT))
unmask_irq(desc);
out_unlock:
raw_spin_unlock(&desc->lock);