Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1243467

[tip:irq/urgent] genirq: Export handle_bad_irq

From tip-bot for Arnd Bergmann <tipbot@zytor.com>
Newsgroups linux.kernel
Subject [tip:irq/urgent] genirq: Export handle_bad_irq
Date 2015-10-09 17:30 +0200
Message-ID <qhHMl-63K-9@gated-at.bofh.it> (permalink)
References <qgH22-8u5-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Commit-ID:  9d67dc5da59d63f746aad8f6ec4fbb86d6486f76
Gitweb:     http://git.kernel.org/tip/9d67dc5da59d63f746aad8f6ec4fbb86d6486f76
Author:     Arnd Bergmann <arnd@arndb.de>
AuthorDate: Tue, 6 Oct 2015 22:24:50 +0200
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Fri, 9 Oct 2015 17:17:30 +0200

genirq: Export handle_bad_irq

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 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c
index de41a68..77983fc 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:
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] genirq: export handle_bad_irq Arnd Bergmann <arnd@arndb.de> - 2015-10-06 22:30 +0200
  Re: [PATCH] genirq: export handle_bad_irq kbuild test robot <lkp@intel.com> - 2015-10-06 23:00 +0200
    [PATCH] genirq: fix handle_bad_irq kerneldoc comment Arnd Bergmann <arnd@arndb.de> - 2015-10-06 23:10 +0200
      [tip:irq/urgent] genirq: Fix handle_bad_irq kerneldoc comment tip-bot for Arnd Bergmann <tipbot@zytor.com> - 2015-10-09 17:30 +0200
  Re: [PATCH] genirq: export handle_bad_irq Grygorii Strashko <grygorii.strashko@ti.com> - 2015-10-07 21:20 +0200
  [tip:irq/urgent] genirq: Export handle_bad_irq tip-bot for Arnd Bergmann <tipbot@zytor.com> - 2015-10-09 17:30 +0200

csiph-web