sparseirq: export nr_irqs on m68k/sparc/s390
authorIngo Molnar <mingo@elte.hu>
Thu, 28 Aug 2008 06:56:33 +0000 (08:56 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 16 Oct 2008 14:53:04 +0000 (16:53 +0200)
commitc59d85a7b7822b83fc9783314543eea0ca860480
tree367f3237a5c8eb83ac516aa5b99d54a70a3ab3e2
parent1dd6ba2e179773597e20f17f66049a64e6c4b2ec
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>
arch/m68k/kernel/ints.c
arch/s390/kernel/irq.c
arch/sparc/kernel/irq.c