Message ID | 1408663880-29179-1-git-send-email-vincent.stehle@laposte.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Friday 22 August 2014 01:31:20 Vincent Stehlé wrote: > Export handle_fasteoi_irq to be able to use it in e.g. the Zynq gpio driver > since commit 6dd859508336 ("gpio: zynq: Fix IRQ handlers"). > > This fixes the following link issue: > > ERROR: "handle_fasteoi_irq" [drivers/gpio/gpio-zynq.ko] undefined! > > Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net> > Cc: Thomas Gleixner <tglx@linutronix.de> > Cc: Lars-Peter Clausen <lars@metafoo.de> > Cc: Linus Walleij <linus.walleij@linaro.org> > Acked-by: Arnd Bergmann <arnd@arndb.de> I saw the same thing here and came up with the same fix.
diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index a2b28a2..6223fab 100644 --- a/kernel/irq/chip.c +++ b/kernel/irq/chip.c @@ -517,6 +517,7 @@ out: chip->irq_eoi(&desc->irq_data); raw_spin_unlock(&desc->lock); } +EXPORT_SYMBOL_GPL(handle_fasteoi_irq); /** * handle_edge_irq - edge type IRQ handler
Export handle_fasteoi_irq to be able to use it in e.g. the Zynq gpio driver since commit 6dd859508336 ("gpio: zynq: Fix IRQ handlers"). This fixes the following link issue: ERROR: "handle_fasteoi_irq" [drivers/gpio/gpio-zynq.ko] undefined! Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Lars-Peter Clausen <lars@metafoo.de> Cc: Linus Walleij <linus.walleij@linaro.org> --- Hi, This can be seen in Linux next-20140822 with e.g. arm allmodconfig. Zync gpio seems to be the first code to use handle_fasteoi_irq, which can be compiled as a module. Best regards, V. kernel/irq/chip.c | 1 + 1 file changed, 1 insertion(+)