dect
/
linux-2.6
Archived
13
0
Fork 0

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:
Ingo Molnar 2008-08-28 08:56:33 +02:00
parent 1dd6ba2e17
commit c59d85a7b7
3 changed files with 3 additions and 0 deletions

View File

@ -47,6 +47,7 @@
#endif
int nr_irqs = NR_IRQS;
EXPORT_SYMBOL(nr_irqs);
extern u32 auto_irqhandler_fixup[];
extern u32 user_irqhandler_fixup[];

View File

@ -18,6 +18,7 @@
#include <linux/profile.h>
int nr_irqs = NR_IRQS;
EXPORT_SYMBOL(nr_irqs);
/*
* show_interrupts is needed by /proc/interrupts.

View File

@ -57,6 +57,7 @@
#endif /* SMP */
int nr_irqs = NR_IRQS;
EXPORT_SYMBOL(nr_irqs);
unsigned long __raw_local_irq_save(void)
{