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