]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - arch/tile/include/asm/irq_work.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-bionic-kernel.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 */