powerpc: Correct parport interrupt parsing
authorMartyn Welch <martyn.welch@ge.com>
Mon, 26 Apr 2010 22:50:21 +0000 (22:50 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 6 May 2010 06:49:26 +0000 (16:49 +1000)
commit7cad19784950f947bf8b332b92d83c75788f897a
treed422d2de6b680b0c5c10ac3cab04bd9062d06707
parent75c1d539ea13117cbe95e2c343e52af67d735145
powerpc: Correct parport interrupt parsing

Currently the parsing of the device tree in
arch/powerpc/include/asm/parport.h assumes that the interrupt provided in
the parallel port node is a valid virtual irq. The values for the
interrupts provided in the device tree should have meaning in the context
of the driver for the specific interrupt controller to which the interrupt
is connected and irq_of_parse_and_map() should be used to determine the
correct virtual irq.

Signed-off-by: Martyn Welch <martyn.welch@ge.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/parport.h