genirq: Use handle_irq_event() in handle_level_irq()
authorThomas Gleixner <tglx@linutronix.de>
Mon, 7 Feb 2011 00:22:17 +0000 (01:22 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 19 Feb 2011 11:58:12 +0000 (12:58 +0100)
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/irq/chip.c

index 809a03fe7e07a393fd4ab66d1a83ac70fa6513cb..2d2ba4ace0eca9bfceeb5c9ef972b877b1efce9c 100644 (file)
@@ -479,9 +479,6 @@ out_unlock:
 void
 handle_level_irq(unsigned int irq, struct irq_desc *desc)
 {
-       struct irqaction *action;
-       irqreturn_t action_ret;
-
        raw_spin_lock(&desc->lock);
        mask_ack_irq(desc);
 
@@ -496,19 +493,10 @@ handle_level_irq(unsigned int irq, struct irq_desc *desc)
         * If its disabled or no action available
         * keep it masked and get out of here
         */
-       action = desc->action;
-       if (unlikely(!action || (desc->status & IRQ_DISABLED)))
+       if (unlikely(!desc->action || (desc->status & IRQ_DISABLED)))
                goto out_unlock;
 
-       desc->status |= IRQ_INPROGRESS;
-       raw_spin_unlock(&desc->lock);
-
-       action_ret = handle_IRQ_event(irq, action);
-       if (!noirqdebug)
-               note_interrupt(irq, desc, action_ret);
-
-       raw_spin_lock(&desc->lock);
-       desc->status &= ~IRQ_INPROGRESS;
+       handle_irq_event(desc);
 
        if (!(desc->status & (IRQ_DISABLED | IRQ_ONESHOT)))
                unmask_irq(desc);
This page took 0.02753 seconds and 5 git commands to generate.