Marc Zyngier | fb9bd7d6 | 2012-03-05 11:49:29 +0000 | [diff] [blame] | 1 | #ifndef __ASM_IRQ_H |
2 | #define __ASM_IRQ_H | ||||
3 | |||||
4 | #include <asm-generic/irq.h> | ||||
5 | |||||
Chunyan Zhang | af2c632 | 2014-12-04 06:29:35 +0000 | [diff] [blame] | 6 | struct pt_regs; |
7 | |||||
Catalin Marinas | e851b58 | 2013-01-14 12:39:31 +0000 | [diff] [blame] | 8 | extern void set_handle_irq(void (*handle_irq)(struct pt_regs *)); |
Marc Zyngier | fb9bd7d6 | 2012-03-05 11:49:29 +0000 | [diff] [blame] | 9 | |
Boris Ostrovsky | b4ff838 | 2015-11-20 11:25:04 -0500 | [diff] [blame] | 10 | static inline int nr_legacy_irqs(void) |
11 | { | ||||
12 | return 0; | ||||
13 | } | ||||
14 | |||||
Marc Zyngier | fb9bd7d6 | 2012-03-05 11:49:29 +0000 | [diff] [blame] | 15 | #endif |