GNU Linux-libre 4.14.266-gnu1
[releases.git] / arch / tile / include / asm / irq_work.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_IRQ_WORK_H
3 #define __ASM_IRQ_WORK_H
4
5 static inline bool arch_irq_work_has_interrupt(void)
6 {
7 #ifdef CONFIG_SMP
8         extern bool self_interrupt_ok;
9         return self_interrupt_ok;
10 #else
11         return false;
12 #endif
13 }
14
15 #endif /* __ASM_IRQ_WORK_H */