Skip to content

Commit

Permalink
irq: sparse irqs, export nr_irqs
Browse files Browse the repository at this point in the history
fix:

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

Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Oct 16, 2008
1 parent d60458b commit fa42d10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/irq/handle.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit fa42d10

Please sign in to comment.