summaryrefslogtreecommitdiffstats
path: root/kernel/irq
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-08-19 20:50:30 -0700
committerIngo Molnar <mingo@elte.hu>2008-10-16 16:52:08 +0200
commitfa42d10dd5e1ff373061c0526f272106512301f9 (patch)
tree17bea35293b743cbc1a9f97fde3d81dd9e054170 /kernel/irq
parentd60458b224d6b997a582a05cb8c4b9bed9e17a1d (diff)
irq: sparse irqs, export nr_irqs
fix: Building modules, stage 2. MODPOST 458 modules ERROR: "nr_irqs" [drivers/serial/8250.ko] undefined! Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/irq')
-rw-r--r--kernel/irq/handle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c
index e94eeca09ea..6ce3bcc2b8f 100644
--- a/kernel/irq/handle.c
+++ b/kernel/irq/handle.c
@@ -48,6 +48,7 @@ handle_bad_irq(unsigned int irq, struct irq_desc *desc)
* Controller mappings for all interrupt sources:
*/
int nr_irqs = NR_IRQS;
+EXPORT_SYMBOL_GPL(nr_irqs);
#ifdef CONFIG_HAVE_DYN_ARRAY
static struct irq_desc irq_desc_init __initdata = {