powerpc: iSeries has only 256 IRQs
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 4 Apr 2006 04:49:48 +0000 (14:49 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 4 Apr 2006 04:49:48 +0000 (14:49 +1000)
commit7d01c880856bae31502095bc68784c1518a680cb
tree8bc0a1b072d9fdf2bc15288e7ce712ff636a7cf8
parent6246b6128bbe34d0752f119cf7c5111c85fe481d
powerpc: iSeries has only 256 IRQs

The iSeries Hypervisor only allows us to specify IRQ numbers up to 255 (it
has a u8 field to pass it in).  This patch allows platforms to specify a
maximum to the virtual IRQ numbers we will use and has iSeries set that
to 255.  If not set, the maximum is NR_IRQS - 1 (as before).

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
arch/powerpc/kernel/irq.c
arch/powerpc/platforms/iseries/setup.c
include/asm-powerpc/irq.h