[POWERPC] Fix irq radix tree remapping typo
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 17 Aug 2006 01:59:27 +0000 (03:59 +0200)
committerPaul Mackerras <paulus@samba.org>
Thu, 17 Aug 2006 06:41:11 +0000 (16:41 +1000)
commite5c14ce118ab6a96afb2af5c4ec9727b03ab1936
tree8533e1253717881dc93bca17537d4ff9418fabdc
parent83db3dde2604d48e30a468c82da163dd1a8602b3
[POWERPC] Fix irq radix tree remapping typo

The code for using the radix tree for reverse mapping of interrupts has
a typo that causes it to create incorrect mappings if the software and
hardware numbers happen to be different. This would, among others, cause
the IDE interrupt to fail on js20's. This fixes it.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/irq.c