]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfa8e62bf51494d843216b0bd500f14fdc1f834a1
treed422d2de6b680b0c5c10ac3cab04bd9062d06707
parentc4ce1d5b7b2b3bd2d674778d67c77dbcba5e98dd
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