summaryrefslogtreecommitdiff
path: root/include/asm-powerpc/irq.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-10-26 17:19:06 +1000
committerPaul Mackerras <paulus@samba.org>2005-10-26 17:19:06 +1000
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];
extern unsigned long ppc_lost_interrupts[NR_MASK_WORDS];
extern atomic_t ppc_n_lost_interrupts;
+#define virt_irq_create_mapping(x) (x)
+
#endif
/*