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