diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-26 09:19:06 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-26 09:19:06 +0200 |
commit | 6d0124fc06be40deafca043c73a8203c78bbfe45 (patch) | |
tree | a2db556568bb9ecc698d1e8ea3f88fd0c022aa01 /include/asm-powerpc/irq.h | |
parent | powerpc: Pull out MPC106 (grackle) initialization code into its own file (diff) | |
download | linux-6d0124fc06be40deafca043c73a8203c78bbfe45.tar.xz linux-6d0124fc06be40deafca043c73a8203c78bbfe45.zip |
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/asm-powerpc/irq.h')
-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 07c2b3fc4c66..c7c3f912a3c2 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 /* |