mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 14:21:47 +00:00
f4d4c354bc
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>
18 lines
448 B
C
18 lines
448 B
C
#ifndef _ASM_POWERPC_I8259_H
|
|
#define _ASM_POWERPC_I8259_H
|
|
#ifdef __KERNEL__
|
|
|
|
#include <linux/irq.h>
|
|
|
|
#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);
|
|
#endif
|
|
|
|
#endif /* __KERNEL__ */
|
|
#endif /* _ASM_POWERPC_I8259_H */
|