All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] genirq: export handle_bad_irq
@ 2015-10-06 20:24 ` Arnd Bergmann
  0 siblings, 0 replies; 11+ messages in thread
From: Arnd Bergmann @ 2015-10-06 20:24 UTC (permalink / raw)
  To: Thomas Gleixner
  Cc: linux-kernel, Grygorii Strashko, Santosh Shilimkar, Linus Walleij,
	Austin Schuh, Tony Lindgren, linux-arm-kernel, linux-gpio,
	linux-omap

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>
Fixes: 450fa54cfd66 ("gpio: omap: convert to use generic irq handler")

diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c
index ea7b5fd99ba5..142bbf3b607f 100644
--- a/kernel/irq/handle.c
+++ b/kernel/irq/handle.c
@@ -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:

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-10-09 15:23 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-06 20:24 [PATCH] genirq: export handle_bad_irq Arnd Bergmann
2015-10-06 20:24 ` Arnd Bergmann
2015-10-06 20:51 ` kbuild test robot
2015-10-06 20:51   ` kbuild test robot
2015-10-06 20:59   ` [PATCH] genirq: fix handle_bad_irq kerneldoc comment Arnd Bergmann
2015-10-06 20:59     ` Arnd Bergmann
2015-10-09 15:21     ` [tip:irq/urgent] genirq: Fix " tip-bot for Arnd Bergmann
2015-10-07 19:18 ` [PATCH] genirq: export handle_bad_irq Grygorii Strashko
2015-10-07 19:18   ` Grygorii Strashko
2015-10-07 19:18   ` Grygorii Strashko
2015-10-09 15:21 ` [tip:irq/urgent] genirq: Export handle_bad_irq tip-bot for Arnd Bergmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.