diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-26 17:19:06 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-26 17:19:06 +1000 |
commit | 6d0124fc06be40deafca043c73a8203c78bbfe45 (patch) | |
tree | a2db556568bb9ecc698d1e8ea3f88fd0c022aa01 /include | |
parent | 830825d6c37a28061c0b6ca538a6411001cf3b2a (diff) | |
download | op-kernel-dev-6d0124fc06be40deafca043c73a8203c78bbfe45.zip op-kernel-dev-6d0124fc06be40deafca043c73a8203c78bbfe45.tar.gz |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-powerpc/irq.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-powerpc/irq.h b/include/asm-powerpc/irq.h index 07c2b3f..c7c3f91 100644 --- a/include/asm-powerpc/irq.h +++ b/include/asm-powerpc/irq.h @@ -432,6 +432,8 @@ extern unsigned long ppc_cached_irq_mask[NR_MASK_WORDS]; extern unsigned long ppc_lost_interrupts[NR_MASK_WORDS]; extern atomic_t ppc_n_lost_interrupts; +#define virt_irq_create_mapping(x) (x) + #endif /* |