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

sparseirq: export nr_irqs on m68k/sparc/s390

Stephen Rothwell reported such build failures on m68k/sparc/s390:

> ERROR: "nr_irqs" [drivers/net/hamradio/baycom_ser_fdx.ko] undefined!
> ERROR: "nr_irqs" [drivers/net/3c59x.ko] undefined!

export nr_irqs on these architectures too.
Reported-by: NStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 1dd6ba2e
......@@ -47,6 +47,7 @@
#endif
int nr_irqs = NR_IRQS;
EXPORT_SYMBOL(nr_irqs);
extern u32 auto_irqhandler_fixup[];
extern u32 user_irqhandler_fixup[];
......
......@@ -18,6 +18,7 @@
#include <linux/profile.h>
int nr_irqs = NR_IRQS;
EXPORT_SYMBOL(nr_irqs);
/*
* show_interrupts is needed by /proc/interrupts.
......
......@@ -57,6 +57,7 @@
#endif /* SMP */
int nr_irqs = NR_IRQS;
EXPORT_SYMBOL(nr_irqs);
unsigned long __raw_local_irq_save(void)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册