2012-03-05 19:49:29 +08:00
|
|
|
#ifndef __ASM_IRQ_H
|
|
|
|
#define __ASM_IRQ_H
|
|
|
|
|
2015-03-24 22:02:49 +08:00
|
|
|
#include <linux/irqchip/arm-gic-acpi.h>
|
|
|
|
|
2012-03-05 19:49:29 +08:00
|
|
|
#include <asm-generic/irq.h>
|
|
|
|
|
2014-12-04 14:29:35 +08:00
|
|
|
struct pt_regs;
|
|
|
|
|
2013-10-25 03:30:18 +08:00
|
|
|
extern void migrate_irqs(void);
|
2013-01-14 20:39:31 +08:00
|
|
|
extern void set_handle_irq(void (*handle_irq)(struct pt_regs *));
|
2012-03-05 19:49:29 +08:00
|
|
|
|
2015-03-24 22:02:49 +08: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 19:49:29 +08:00
|
|
|
#endif
|