diff options
author | Paul Gortmaker <[email protected]> | 2014-02-10 13:39:53 -0500 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2014-02-11 10:30:36 +0100 |
commit | 2c45aada341121438affc4cb8d5b4cfaa2813d3d (patch) | |
tree | a45f2e88f5cf9fd0aa3db2e0938a95848f79d1cb /tools/perf/scripts | |
parent | 494479038d97f1b9f76fc633a360a681acdf035c (diff) |
genirq: Add missing irq_to_desc export for CONFIG_SPARSE_IRQ=n
In allmodconfig builds for sparc and any other arch which does
not set CONFIG_SPARSE_IRQ, the following will be seen at modpost:
CC [M] lib/cpu-notifier-error-inject.o
CC [M] lib/pm-notifier-error-inject.o
ERROR: "irq_to_desc" [drivers/gpio/gpio-mcp23s08.ko] undefined!
make[2]: *** [__modpost] Error 1
This happens because commit 3911ff30f5 ("genirq: export
handle_edge_irq() and irq_to_desc()") added one export for it, but
there were actually two instances of it, in an if/else clause for
CONFIG_SPARSE_IRQ. Add the second one.
Signed-off-by: Paul Gortmaker <[email protected]>
Cc: Jiri Kosina <[email protected]>
Cc: [email protected] # 3.4+
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions