genirq: Use handle_irq_event() in handle_fasteoi_irq()
authorThomas Gleixner <tglx@linutronix.de>
Mon, 7 Feb 2011 00:23:07 +0000 (01:23 +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 2d2ba4ace0eca9bfceeb5c9ef972b877b1efce9c..a499ca5b11aaadb8178b316d642ad51fc2fda918 100644 (file)
@@ -518,9 +518,6 @@ EXPORT_SYMBOL_GPL(handle_level_irq);
 void
 handle_fasteoi_irq(unsigned int irq, struct irq_desc *desc)
 {
-       struct irqaction *action;
-       irqreturn_t action_ret;
-
        raw_spin_lock(&desc->lock);
 
        if (unlikely(desc->status & IRQ_INPROGRESS))
@@ -534,26 +531,14 @@ handle_fasteoi_irq(unsigned int irq, struct irq_desc *desc)
         * If its disabled or no action available
         * then mask it and get out of here:
         */
-       action = desc->action;
-       if (unlikely(!action || (desc->status & IRQ_DISABLED))) {
+       if (unlikely(!desc->action || (desc->status & IRQ_DISABLED))) {
                desc->status |= IRQ_PENDING;
                mask_irq(desc);
                goto out;
        }
-
-       desc->status |= IRQ_INPROGRESS;
-       desc->status &= ~IRQ_PENDING;
-       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);
 out:
        desc->irq_data.chip->irq_eoi(&desc->irq_data);
-
        raw_spin_unlock(&desc->lock);
 }
 
This page took 0.027799 seconds and 5 git commands to generate.