|
@@ -261,10 +261,13 @@ handle_level_irq(unsigned int irq, struct irq_desc *desc, struct pt_regs *regs)
|
|
|
* keep it masked and get out of here
|
|
|
*/
|
|
|
action = desc->action;
|
|
|
- if (unlikely(!action || (desc->status & IRQ_DISABLED)))
|
|
|
+ if (unlikely(!action || (desc->status & IRQ_DISABLED))) {
|
|
|
+ desc->status |= IRQ_PENDING;
|
|
|
goto out;
|
|
|
+ }
|
|
|
|
|
|
desc->status |= IRQ_INPROGRESS;
|
|
|
+ desc->status &= ~IRQ_PENDING;
|
|
|
spin_unlock(&desc->lock);
|
|
|
|
|
|
action_ret = handle_IRQ_event(irq, regs, action);
|