aboutsummaryrefslogtreecommitdiff
path: root/include/asm-powerpc/i8259.h
blob: db1362f8c603c2576dffefbe6e23a8c410057984 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef _ASM_POWERPC_I8259_H
#define _ASM_POWERPC_I8259_H
#ifdef __KERNEL__

#include <linux/irq.h>

#ifdef CONFIG_PPC_MERGE
extern void i8259_init(struct device_node *node, unsigned long intack_addr);
extern unsigned int i8259_irq(void);
extern struct irq_host *i8259_get_host(void);
#else
extern void i8259_init(unsigned long intack_addr, int offset);
extern int i8259_irq(void);
#endif

#endif /* __KERNEL__ */
#endif /* _ASM_POWERPC_I8259_H */