blob: 09169296c3cc4c235d10a0b040c68938eb4a4c80 [file] [log] [blame]
Marc Zyngierfb9bd7d62012-03-05 11:49:29 +00001#ifndef __ASM_IRQ_H
2#define __ASM_IRQ_H
3
Tomasz Nowickid60fc382015-03-24 14:02:49 +00004#include <linux/irqchip/arm-gic-acpi.h>
5
Marc Zyngierfb9bd7d62012-03-05 11:49:29 +00006#include <asm-generic/irq.h>
7
Chunyan Zhangaf2c6322014-12-04 06:29:35 +00008struct pt_regs;
9
Catalin Marinase851b582013-01-14 12:39:31 +000010extern void set_handle_irq(void (*handle_irq)(struct pt_regs *));
Marc Zyngierfb9bd7d62012-03-05 11:49:29 +000011
Tomasz Nowickid60fc382015-03-24 14:02:49 +000012static inline void acpi_irq_init(void)
13{
14 /*
15 * Hardcode ACPI IRQ chip initialization to GICv2 for now.
16 * Proper irqchip infrastructure will be implemented along with
17 * incoming GICv2m|GICv3|ITS bits.
18 */
19 acpi_gic_init();
20}
21#define acpi_irq_init acpi_irq_init
22
Marc Zyngierfb9bd7d62012-03-05 11:49:29 +000023#endif