From: Stephen Rothwell Date: Tue, 29 Mar 2011 23:55:12 +0000 (+1100) Subject: genirq: fix CONFIG_IRQ_EDGE_EOI_HANDLER build X-Git-Tag: MMI-PSA29.97-13-9~20051 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ac0e0447be3b7a3dd583193b0230bfe3ddef0442;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git genirq: fix CONFIG_IRQ_EDGE_EOI_HANDLER build 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 Signed-off-by: Linus Torvalds --- diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index 616ec1c6b06f..1dafc8652bd8 100644 --- a/kernel/irq/chip.c +++ b/kernel/irq/chip.c @@ -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); }