From: Ingo Molnar Date: Wed, 20 Aug 2008 03:50:30 +0000 (-0700) Subject: irq: sparse irqs, export nr_irqs X-Git-Tag: v2.6.28-rc1~80^2~151 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=fa42d10dd5e1ff373061c0526f272106512301f9;p=linux-2.6-omap-h63xx.git 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 --- 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 = {