packet: fix error handling
[linux-2.6.22.y-op.git] / include / asm-powerpc / i8259.h
blobdb1362f8c603c2576dffefbe6e23a8c410057984
1 #ifndef _ASM_POWERPC_I8259_H
2 #define _ASM_POWERPC_I8259_H
3 #ifdef __KERNEL__
5 #include <linux/irq.h>
7 #ifdef CONFIG_PPC_MERGE
8 extern void i8259_init(struct device_node *node, unsigned long intack_addr);
9 extern unsigned int i8259_irq(void);
10 extern struct irq_host *i8259_get_host(void);
11 #else
12 extern void i8259_init(unsigned long intack_addr, int offset);
13 extern int i8259_irq(void);
14 #endif
16 #endif /* __KERNEL__ */
17 #endif /* _ASM_POWERPC_I8259_H */