xref: /openbmc/linux/arch/arm64/include/asm/irq.h (revision 8cb5d748)
1 #ifndef __ASM_IRQ_H
2 #define __ASM_IRQ_H
3 
4 #ifndef __ASSEMBLER__
5 
6 #include <asm-generic/irq.h>
7 
8 struct pt_regs;
9 
10 extern void set_handle_irq(void (*handle_irq)(struct pt_regs *));
11 
12 static inline int nr_legacy_irqs(void)
13 {
14 	return 0;
15 }
16 
17 #endif /* !__ASSEMBLER__ */
18 #endif
19