x86/oprofile: Fix bogus GCC-8 warning in nmi_setup()
[cris-mirror.git] / arch / arm64 / include / asm / irq.h
bloba0fee6985e6a75b621644ea4e7d19f8b4f220643
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_IRQ_H
3 #define __ASM_IRQ_H
5 #ifndef __ASSEMBLER__
7 #include <asm-generic/irq.h>
9 struct pt_regs;
11 extern void set_handle_irq(void (*handle_irq)(struct pt_regs *));
13 static inline int nr_legacy_irqs(void)
15 return 0;
18 #endif /* !__ASSEMBLER__ */
19 #endif