forked from Minki/linux
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: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
1dd6ba2e17
commit
c59d85a7b7
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user