xref: /linux/arch/arm64/include/asm/irq_work.h (revision 4949009eb8d40a441dcddcd96e101e77d31cf1b2)
1 #ifndef __ASM_IRQ_WORK_H
2 #define __ASM_IRQ_WORK_H
3 
4 #ifdef CONFIG_SMP
5 
6 #include <asm/smp.h>
7 
8 static inline bool arch_irq_work_has_interrupt(void)
9 {
10 	return !!__smp_cross_call;
11 }
12 
13 #else
14 
15 static inline bool arch_irq_work_has_interrupt(void)
16 {
17 	return false;
18 }
19 
20 #endif
21 
22 #endif /* __ASM_IRQ_WORK_H */
23