irq_work.h 244 B

1234567891011121314
  1. #ifndef __ASM_IRQ_WORK_H
  2. #define __ASM_IRQ_WORK_H
  3. static inline bool arch_irq_work_has_interrupt(void)
  4. {
  5. #ifdef CONFIG_SMP
  6. extern bool self_interrupt_ok;
  7. return self_interrupt_ok;
  8. #else
  9. return false;
  10. #endif
  11. }
  12. #endif /* __ASM_IRQ_WORK_H */