提交 fa42d10d 编写于 作者: I Ingo Molnar

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: NIngo Molnar <mingo@elte.hu>
上级 d60458b2
...@@ -48,6 +48,7 @@ handle_bad_irq(unsigned int irq, struct irq_desc *desc) ...@@ -48,6 +48,7 @@ handle_bad_irq(unsigned int irq, struct irq_desc *desc)
* Controller mappings for all interrupt sources: * Controller mappings for all interrupt sources:
*/ */
int nr_irqs = NR_IRQS; int nr_irqs = NR_IRQS;
EXPORT_SYMBOL_GPL(nr_irqs);
#ifdef CONFIG_HAVE_DYN_ARRAY #ifdef CONFIG_HAVE_DYN_ARRAY
static struct irq_desc irq_desc_init __initdata = { static struct irq_desc irq_desc_init __initdata = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册