genirq: define nr_irqs for architectures with GENERIC_HARDIRQS=n
authorThomas Gleixner <tglx@linutronix.de>
Wed, 15 Oct 2008 11:07:35 +0000 (13:07 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 16 Oct 2008 14:53:14 +0000 (16:53 +0200)
commit7ef0c30dbf96a8d9a234e90c248eb19df3c031be
treee9e77d581e70cee0725ad568d42c0769783f4f89
parent81608f3c254512b906ab78082ec5966b376aacd5
genirq: define nr_irqs for architectures with GENERIC_HARDIRQS=n

Revert the sparse irq changes in m68k/s390/sparc and just define
nr_irqs as NR_IRQS for those architectures.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/m68k/kernel/ints.c
arch/s390/kernel/irq.c
arch/sparc/kernel/irq.c
include/linux/interrupt.h