diff options
Diffstat (limited to 'arch/ppc/syslib/ppc8xx_pic.h')
-rw-r--r-- | arch/ppc/syslib/ppc8xx_pic.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/ppc/syslib/ppc8xx_pic.h b/arch/ppc/syslib/ppc8xx_pic.h new file mode 100644 index 000000000000..784935eac365 --- /dev/null +++ b/arch/ppc/syslib/ppc8xx_pic.h | |||
@@ -0,0 +1,21 @@ | |||
1 | #ifndef _PPC_KERNEL_PPC8xx_H | ||
2 | #define _PPC_KERNEL_PPC8xx_H | ||
3 | |||
4 | #include <linux/config.h> | ||
5 | #include <linux/irq.h> | ||
6 | #include <linux/interrupt.h> | ||
7 | |||
8 | extern struct hw_interrupt_type ppc8xx_pic; | ||
9 | |||
10 | void m8xx_pic_init(void); | ||
11 | void m8xx_do_IRQ(struct pt_regs *regs, | ||
12 | int cpu); | ||
13 | int m8xx_get_irq(struct pt_regs *regs); | ||
14 | |||
15 | #ifdef CONFIG_MBX | ||
16 | #include <asm/i8259.h> | ||
17 | #include <asm/io.h> | ||
18 | void mbx_i8259_action(int cpl, void *dev_id, struct pt_regs *regs); | ||
19 | #endif | ||
20 | |||
21 | #endif /* _PPC_KERNEL_PPC8xx_H */ | ||