]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
irq: sparse irqs, export nr_irqs
authorIngo Molnar <mingo@elte.hu>
Wed, 20 Aug 2008 03:50:30 +0000 (20:50 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 16 Oct 2008 14:52:08 +0000 (16:52 +0200)
fix:

  Building modules, stage 2.
  MODPOST 458 modules
  ERROR: "nr_irqs" [drivers/serial/8250.ko] undefined!

Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/irq/handle.c

index e94eeca09ea9fa7f251cd32ed7f11d0a2595e9d1..6ce3bcc2b8f73895fbf7b6dfeecca22e37cd90c8 100644 (file)
@@ -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 = {