aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-08-19 23:50:30 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-16 10:52:08 -0400
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 e94eeca09ea9..6ce3bcc2b8f7 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 */
50int nr_irqs = NR_IRQS; 50int nr_irqs = NR_IRQS;
51EXPORT_SYMBOL_GPL(nr_irqs);
51 52
52#ifdef CONFIG_HAVE_DYN_ARRAY 53#ifdef CONFIG_HAVE_DYN_ARRAY
53static struct irq_desc irq_desc_init __initdata = { 54static struct irq_desc irq_desc_init __initdata = {