aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/irq.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-10-26 03:19:06 -0400
committerPaul Mackerras <paulus@samba.org>2005-10-26 03:19:06 -0400
commit6d0124fc06be40deafca043c73a8203c78bbfe45 (patch)
treea2db556568bb9ecc698d1e8ea3f88fd0c022aa01 /include/asm-powerpc/irq.h
parent830825d6c37a28061c0b6ca538a6411001cf3b2a (diff)
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.h2
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];
432extern unsigned long ppc_lost_interrupts[NR_MASK_WORDS]; 432extern unsigned long ppc_lost_interrupts[NR_MASK_WORDS];
433extern atomic_t ppc_n_lost_interrupts; 433extern atomic_t ppc_n_lost_interrupts;
434 434
435#define virt_irq_create_mapping(x) (x)
436
435#endif 437#endif
436 438
437/* 439/*