]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
powerpc: Fix interrupt-tree parsing
authorPaul Mackerras <paulus@samba.org>
Wed, 26 Oct 2005 07:19:06 +0000 (17:19 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 26 Oct 2005 07:19:06 +0000 (17:19 +1000)
commit6d0124fc06be40deafca043c73a8203c78bbfe45
treea2db556568bb9ecc698d1e8ea3f88fd0c022aa01
parent830825d6c37a28061c0b6ca538a6411001cf3b2a
powerpc: Fix interrupt-tree parsing

The interrupt-tree parsing code wasn't offsetting interrupt numbers
by 16 on 32-bit platforms with an i8259 interrupt controller, and
it was confused about the encoding of interrupt sense and level
(which is different for i8259 and openpic interrupt controllers,
just to make things interesting).

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/prom.c
include/asm-powerpc/irq.h