diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-08-19 23:50:30 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 10:52:08 -0400 |
commit | fa42d10dd5e1ff373061c0526f272106512301f9 (patch) | |
tree | 17bea35293b743cbc1a9f97fde3d81dd9e054170 | |
parent | d60458b224d6b997a582a05cb8c4b9bed9e17a1d (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>
-rw-r--r-- | kernel/irq/handle.c | 1 |
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) | |||
48 | * Controller mappings for all interrupt sources: | 48 | * Controller mappings for all interrupt sources: |
49 | */ | 49 | */ |
50 | int nr_irqs = NR_IRQS; | 50 | int nr_irqs = NR_IRQS; |
51 | EXPORT_SYMBOL_GPL(nr_irqs); | ||
51 | 52 | ||
52 | #ifdef CONFIG_HAVE_DYN_ARRAY | 53 | #ifdef CONFIG_HAVE_DYN_ARRAY |
53 | static struct irq_desc irq_desc_init __initdata = { | 54 | static struct irq_desc irq_desc_init __initdata = { |