2005-10-10 23:28:16 +00:00
|
|
|
#ifndef _ASM_POWERPC_I8259_H
|
|
|
|
#define _ASM_POWERPC_I8259_H
|
2005-12-16 21:43:46 +00:00
|
|
|
#ifdef __KERNEL__
|
2005-04-16 22:20:36 +00:00
|
|
|
|
|
|
|
#include <linux/irq.h>
|
|
|
|
|
2006-07-03 11:36:01 +00:00
|
|
|
#ifdef CONFIG_PPC_MERGE
|
|
|
|
extern void i8259_init(struct device_node *node, unsigned long intack_addr);
|
|
|
|
extern unsigned int i8259_irq(struct pt_regs *regs);
|
|
|
|
#else
|
2005-10-26 06:47:42 +00:00
|
|
|
extern void i8259_init(unsigned long intack_addr, int offset);
|
2005-04-16 22:20:36 +00:00
|
|
|
extern int i8259_irq(struct pt_regs *regs);
|
2006-07-03 11:36:01 +00:00
|
|
|
#endif
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2005-12-16 21:43:46 +00:00
|
|
|
#endif /* __KERNEL__ */
|
2005-10-10 23:28:16 +00:00
|
|
|
#endif /* _ASM_POWERPC_I8259_H */
|