1*36310736SFrederic Weisbecker #ifndef __ASM_IRQ_WORK_H 2*36310736SFrederic Weisbecker #define __ASM_IRQ_WORK_H 3*36310736SFrederic Weisbecker 4*36310736SFrederic Weisbecker #include <asm/smp.h> 5*36310736SFrederic Weisbecker 6*36310736SFrederic Weisbecker static inline bool arch_irq_work_has_interrupt(void) 7*36310736SFrederic Weisbecker { 8*36310736SFrederic Weisbecker return !!__smp_cross_call; 9*36310736SFrederic Weisbecker } 10*36310736SFrederic Weisbecker 11*36310736SFrederic Weisbecker #endif /* __ASM_IRQ_WORK_H */ 12