Paul Mackerras | 3b341c1 | 2005-10-11 09:28:16 +1000 | [diff] [blame] | 1 | #ifndef _ASM_POWERPC_I8259_H |
| 2 | #define _ASM_POWERPC_I8259_H |
Arnd Bergmann | 88ced03 | 2005-12-16 22:43:46 +0100 | [diff] [blame] | 3 | #ifdef __KERNEL__ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | |
| 5 | #include <linux/irq.h> |
| 6 | |
| 7 | extern struct hw_interrupt_type i8259_pic; |
| 8 | |
Paul Mackerras | f9bd170 | 2005-10-26 16:47:42 +1000 | [diff] [blame] | 9 | extern void i8259_init(unsigned long intack_addr, int offset); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | extern int i8259_irq(struct pt_regs *regs); |
Paul Mackerras | f9bd170 | 2005-10-26 16:47:42 +1000 | [diff] [blame] | 11 | extern int i8259_irq_cascade(struct pt_regs *regs, void *unused); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | |
Arnd Bergmann | 88ced03 | 2005-12-16 22:43:46 +0100 | [diff] [blame] | 13 | #endif /* __KERNEL__ */ |
Paul Mackerras | 3b341c1 | 2005-10-11 09:28:16 +1000 | [diff] [blame] | 14 | #endif /* _ASM_POWERPC_I8259_H */ |