x86/oprofile: Fix bogus GCC-8 warning in nmi_setup()
[cris-mirror.git] / arch / tile / include / asm / irq_work.h
blob78d3b6a7b27a8d6f50bdc6b36aa7b75038fff7f3
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_IRQ_WORK_H
3 #define __ASM_IRQ_WORK_H
5 static inline bool arch_irq_work_has_interrupt(void)
7 #ifdef CONFIG_SMP
8 extern bool self_interrupt_ok;
9 return self_interrupt_ok;
10 #else
11 return false;
12 #endif
15 #endif /* __ASM_IRQ_WORK_H */