2012-03-05 11:49:29 +00:00
|
|
|
#ifndef __ASM_IRQ_H
|
|
|
|
#define __ASM_IRQ_H
|
|
|
|
|
2015-03-24 14:02:49 +00:00
|
|
|
#include <linux/irqchip/arm-gic-acpi.h>
|
|
|
|
|
2012-03-05 11:49:29 +00:00
|
|
|
#include <asm-generic/irq.h>
|
|
|
|
|
2014-12-04 06:29:35 +00:00
|
|
|
struct pt_regs;
|
|
|
|
|
2013-10-24 19:30:18 +00:00
|
|
|
extern void migrate_irqs(void);
|
2013-01-14 12:39:31 +00:00
|
|
|
extern void set_handle_irq(void (*handle_irq)(struct pt_regs *));
|
2012-03-05 11:49:29 +00:00
|
|
|
|
2015-03-24 14:02:49 +00:00
|
|
|
static inline void acpi_irq_init(void)
|
|
|
|
{
|
|
|
|
/*
|
|
|
|
* Hardcode ACPI IRQ chip initialization to GICv2 for now.
|
|
|
|
* Proper irqchip infrastructure will be implemented along with
|
|
|
|
* incoming GICv2m|GICv3|ITS bits.
|
|
|
|
*/
|
|
|
|
acpi_gic_init();
|
|
|
|
}
|
|
|
|
#define acpi_irq_init acpi_irq_init
|
|
|
|
|
2012-03-05 11:49:29 +00:00
|
|
|
#endif
|