genirq: fix CONFIG_IRQ_EDGE_EOI_HANDLER build
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 29 Mar 2011 23:55:12 +0000 (10:55 +1100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Mar 2011 00:04:39 +0000 (17:04 -0700)
Fixes these errors:

  kernel/irq/chip.c: In function 'handle_edge_eoi_irq':
  kernel/irq/chip.c:517: warning: label 'out_unlock' defined but not used
  kernel/irq/chip.c:503: error: label 'out_eoi' used but not defined

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/irq/chip.c

index 616ec1c6b06f4737cf1b82058bc2c790acafca3d..1dafc8652bd893aceef6194cfbd6e03134d21e91 100644 (file)
@@ -514,7 +514,7 @@ void handle_edge_eoi_irq(unsigned int irq, struct irq_desc *desc)
        } while ((desc->istate & IRQS_PENDING) &&
                 !irqd_irq_disabled(&desc->irq_data));
 
-out_unlock:
+out_eoi:
        chip->irq_eoi(&desc->irq_data);
        raw_spin_unlock(&desc->lock);
 }