diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2006-10-25 13:22:27 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-10-25 13:49:22 +1000 |
commit | f4d4c354bca18210296cc0a8f592c0cdb720bf20 (patch) | |
tree | 9254e902c5a6aa3e9c5f74ec98845756ffc9d496 /include/asm-powerpc/i8259.h | |
parent | f49196a5f53aa62a964b08ffa2c59699a0c8eb53 (diff) |
[POWERPC] Fix CHRP platforms with only 8259
On CHRP platforms with only a 8259 controller, we should set the
default IRQ host to the 8259 driver's one for the IRQ probing
fallbacks to work in case the IRQ tree is incorrect (like on
Pegasos for example). Without this fix, we get a bunch of WARN_ON's
during boot.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/i8259.h')
-rw-r--r-- | include/asm-powerpc/i8259.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-powerpc/i8259.h b/include/asm-powerpc/i8259.h index 78489fb8d140..db1362f8c603 100644 --- a/include/asm-powerpc/i8259.h +++ b/include/asm-powerpc/i8259.h @@ -7,6 +7,7 @@ #ifdef CONFIG_PPC_MERGE extern void i8259_init(struct device_node *node, unsigned long intack_addr); extern unsigned int i8259_irq(void); +extern struct irq_host *i8259_get_host(void); #else extern void i8259_init(unsigned long intack_addr, int offset); extern int i8259_irq(void); |