lkml.org 
[lkml]   [2011]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 27/75] genirq: Use handle_perpcu_event() in handle_percpu_irq()
    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    ---
    kernel/irq/chip.c | 14 ++++++--------
    1 file changed, 6 insertions(+), 8 deletions(-)

    Index: linux-2.6-tip/kernel/irq/chip.c
    ===================================================================
    --- linux-2.6-tip.orig/kernel/irq/chip.c
    +++ linux-2.6-tip/kernel/irq/chip.c
    @@ -616,19 +616,17 @@ out_unlock:
    void
    handle_percpu_irq(unsigned int irq, struct irq_desc *desc)
    {
    - irqreturn_t action_ret;
    + struct irq_chip *chip = get_irq_desc_chip(desc);

    kstat_incr_irqs_this_cpu(irq, desc);

    - if (desc->irq_data.chip->irq_ack)
    - desc->irq_data.chip->irq_ack(&desc->irq_data);
    + if (chip->irq_ack)
    + chip->irq_ack(&desc->irq_data);

    - action_ret = handle_IRQ_event(irq, desc->action);
    - if (!noirqdebug)
    - note_interrupt(irq, desc, action_ret);
    + handle_irq_event_percpu(desc, desc->action);

    - if (desc->irq_data.chip->irq_eoi)
    - desc->irq_data.chip->irq_eoi(&desc->irq_data);
    + if (chip->irq_eoi)
    + chip->irq_eoi(&desc->irq_data);
    }

    void



    \
     
     \ /
      Last update: 2011-02-11 00:51    [W:0.041 / U:31.908 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site