xref: /openbmc/linux/arch/arm64/include/asm/irq.h (revision d0bd7f2a)
1 #ifndef __ASM_IRQ_H
2 #define __ASM_IRQ_H
3 
4 #include <linux/irqchip/arm-gic-acpi.h>
5 
6 #include <asm-generic/irq.h>
7 
8 struct pt_regs;
9 
10 extern void migrate_irqs(void);
11 extern void set_handle_irq(void (*handle_irq)(struct pt_regs *));
12 
13 static inline void acpi_irq_init(void)
14 {
15 	/*
16 	 * Hardcode ACPI IRQ chip initialization to GICv2 for now.
17 	 * Proper irqchip infrastructure will be implemented along with
18 	 * incoming  GICv2m|GICv3|ITS bits.
19 	 */
20 	acpi_gic_init();
21 }
22 #define acpi_irq_init acpi_irq_init
23 
24 #endif
25