Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Paul Mackerras | 3b341c1 | 2005-10-11 09:28:16 +1000 | [diff] [blame] | 2 | #ifndef _ASM_POWERPC_I8259_H |
| 3 | #define _ASM_POWERPC_I8259_H |
Arnd Bergmann | 88ced03 | 2005-12-16 22:43:46 +0100 | [diff] [blame] | 4 | #ifdef __KERNEL__ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 5 | |
| 6 | #include <linux/irq.h> |
| 7 | |
Benjamin Herrenschmidt | 0ebfff1 | 2006-07-03 21:36:01 +1000 | [diff] [blame] | 8 | extern void i8259_init(struct device_node *node, unsigned long intack_addr); |
Olaf Hering | 35a84c2 | 2006-10-07 22:08:26 +1000 | [diff] [blame] | 9 | extern unsigned int i8259_irq(void); |
Nick Child | 6c55298 | 2021-12-16 17:00:20 -0500 | [diff] [blame] | 10 | struct irq_domain *__init i8259_get_host(void); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | |
Arnd Bergmann | 88ced03 | 2005-12-16 22:43:46 +0100 | [diff] [blame] | 12 | #endif /* __KERNEL__ */ |
Paul Mackerras | 3b341c1 | 2005-10-11 09:28:16 +1000 | [diff] [blame] | 13 | #endif /* _ASM_POWERPC_I8259_H */ |