tile: support arch_irq_work_raise
[cascardo/linux.git] / arch / tile / include / asm / irq_work.h
1 #ifndef __ASM_IRQ_WORK_H
2 #define __ASM_IRQ_WORK_H
3
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 */