blob: c80e113052cd3a3da7b3f0d1f065898de6428b78 [file] [log] [blame]
Paul Mackerras3b341c12005-10-11 09:28:16 +10001#ifndef _ASM_POWERPC_I8259_H
2#define _ASM_POWERPC_I8259_H
Arnd Bergmann88ced032005-12-16 22:43:46 +01003#ifdef __KERNEL__
Linus Torvalds1da177e2005-04-16 15:20:36 -07004
5#include <linux/irq.h>
6
Benjamin Herrenschmidt0ebfff12006-07-03 21:36:01 +10007#ifdef CONFIG_PPC_MERGE
8extern void i8259_init(struct device_node *node, unsigned long intack_addr);
9extern unsigned int i8259_irq(struct pt_regs *regs);
10#else
Paul Mackerrasf9bd1702005-10-26 16:47:42 +100011extern void i8259_init(unsigned long intack_addr, int offset);
Linus Torvalds1da177e2005-04-16 15:20:36 -070012extern int i8259_irq(struct pt_regs *regs);
Benjamin Herrenschmidt0ebfff12006-07-03 21:36:01 +100013#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070014
Arnd Bergmann88ced032005-12-16 22:43:46 +010015#endif /* __KERNEL__ */
Paul Mackerras3b341c12005-10-11 09:28:16 +100016#endif /* _ASM_POWERPC_I8259_H */