xref: /linux/arch/arm64/include/asm/irq.h (revision 06d07429858317ded2db7986113a9e0129cd599b)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_IRQ_H
3 #define __ASM_IRQ_H
4 
5 #ifndef __ASSEMBLER__
6 
7 #include <linux/cpumask.h>
8 
9 #include <asm-generic/irq.h>
10 
11 void arch_trigger_cpumask_backtrace(const cpumask_t *mask, int exclude_cpu);
12 #define arch_trigger_cpumask_backtrace arch_trigger_cpumask_backtrace
13 
14 struct pt_regs;
15 
16 int set_handle_irq(void (*handle_irq)(struct pt_regs *));
17 #define set_handle_irq	set_handle_irq
18 int set_handle_fiq(void (*handle_fiq)(struct pt_regs *));
19 
nr_legacy_irqs(void)20 static inline int nr_legacy_irqs(void)
21 {
22 	return 0;
23 }
24 
25 #endif /* !__ASSEMBLER__ */
26 #endif
27