]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/arm64/include/asm/irq_work.h
Merge tag 'renesas-soc-fixes3-for-v3.19' of git://git.kernel.org/pub/scm/linux/kernel...
[karo-tx-linux.git] / arch / arm64 / include / asm / irq_work.h
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 */