lkml.org 
[lkml]   [2011]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 7/8] m68knommu: 5772: Replace private irq flow handler
    That handler lacks the minimal checks for action being zero etc. Keep
    the weird flow - ack before handling - intact and call into
    handle_simple_irq which does the right thing.

    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    Cc: Greg Ungerer <gerg@uclinux.org>
    ---
    arch/m68knommu/platform/5272/intc.c | 5 +----
    1 file changed, 1 insertion(+), 4 deletions(-)

    Index: linux-2.6-tip/arch/m68knommu/platform/5272/intc.c
    ===================================================================
    --- linux-2.6-tip.orig/arch/m68knommu/platform/5272/intc.c
    +++ linux-2.6-tip/arch/m68knommu/platform/5272/intc.c
    @@ -137,11 +137,8 @@ static int intc_irq_set_type(unsigned in
    */
    static void intc_external_irq(unsigned int irq, struct irq_desc *desc)
    {
    - kstat_incr_irqs_this_cpu(irq, desc);
    - desc->status |= IRQ_INPROGRESS;
    desc->chip->ack(irq);
    - handle_IRQ_event(irq, desc->action);
    - desc->status &= ~IRQ_INPROGRESS;
    + handle_simple_irq(irq, desc);
    }

    static struct irq_chip intc_irq_chip = {



    \
     
     \ /
      Last update: 2011-02-02 22:45    [W:4.217 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site