From 7703014c00caa60c688e289583f62e019ac20a64 Mon Sep 17 00:00:00 2001 From: Arnd Bergmann Date: Mon, 12 Oct 2015 10:29:46 -0500 Subject: [PATCH] genirq: Export handle_bad_irq commit 9d67dc5da59d63f746aad8f6ec4fbb86d6486f76 upstream. A cleanup of the omap gpio driver introduced a use of the Handle_bad_irq() function in a device driver that can be a loadable module. This broke the ARM allmodconfig build: ERROR: "handle_bad_irq" [drivers/gpio/gpio-omap.ko] undefined! This patch exports the handle_bad_irq symbol in order to allow the use in modules. Signed-off-by: Arnd Bergmann Cc: Grygorii Strashko Cc: Santosh Shilimkar Cc: Linus Walleij Cc: Austin Schuh Cc: Tony Lindgren Cc: linux-arm-kernel@lists.infradead.org Link: http://lkml.kernel.org/r/5847725.4IBopItaOr@wuerfel Signed-off-by: Thomas Gleixner Signed-off-by: Dan Murphy --- kernel/irq/handle.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c index 6354802..d2603ca 100644 --- a/kernel/irq/handle.c +++ b/kernel/irq/handle.c @@ -33,6 +33,7 @@ void handle_bad_irq(unsigned int irq, struct irq_desc *desc) kstat_incr_irqs_this_cpu(irq, desc); ack_bad_irq(irq); } +EXPORT_SYMBOL_GPL(handle_bad_irq); /* * Special, empty irq handler: -- 1.9.1