• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1  #ifndef __ASM_IRQ_WORK_H
2  #define __ASM_IRQ_WORK_H
3  
arch_irq_work_has_interrupt(void)4  static inline bool arch_irq_work_has_interrupt(void)
5  {
6  #ifdef CONFIG_SMP
7  	extern bool self_interrupt_ok;
8  	return self_interrupt_ok;
9  #else
10  	return false;
11  #endif
12  }
13  
14  #endif /* __ASM_IRQ_WORK_H */
15