irq_work.h 296 B

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