Frederic Weisbecker | 3631073 | 2014-08-16 18:48:05 +0200 | [diff] [blame] | 1 | #ifndef __ASM_IRQ_WORK_H |
2 | #define __ASM_IRQ_WORK_H | ||||
3 | |||||
4 | #include <asm/smp.h> | ||||
5 | |||||
6 | static inline bool arch_irq_work_has_interrupt(void) | ||||
7 | { | ||||
8 | return !!__smp_cross_call; | ||||
9 | } | ||||
10 | |||||
Frederic Weisbecker | 3631073 | 2014-08-16 18:48:05 +0200 | [diff] [blame] | 11 | #endif /* __ASM_IRQ_WORK_H */ |