genirq: Export handle_bad_irq
authorArnd Bergmann <arnd@arndb.de>
Tue, 6 Oct 2015 20:24:50 +0000 (22:24 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 9 Oct 2015 15:17:30 +0000 (17:17 +0200)
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 <arnd@arndb.de>
Cc: Grygorii Strashko <grygorii.strashko@ti.com>
Cc: Santosh Shilimkar <ssantosh@kernel.org>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Austin Schuh <austin@peloton-tech.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: linux-arm-kernel@lists.infradead.org
Link: http://lkml.kernel.org/r/5847725.4IBopItaOr@wuerfel
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/irq/handle.c

index de41a68fc038df70b8578e6ec1174fbcf53a1f0f..77983fc9aa633fd0119badd2ed481956f319bcf5 100644 (file)
@@ -35,6 +35,7 @@ void handle_bad_irq(struct irq_desc *desc)
        kstat_incr_irqs_this_cpu(desc);
        ack_bad_irq(irq);
 }
+EXPORT_SYMBOL_GPL(handle_bad_irq);
 
 /*
  * Special, empty irq handler: