Revert "tty: hvc: Fix data abort due to race in hvc_open"
[linux/fpc-iii.git] / arch / x86 / include / asm / irq_work.h
blob80b35e3adf039cedde3c8efd56c6dc6dda999e4a
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_IRQ_WORK_H
3 #define _ASM_IRQ_WORK_H
5 #include <asm/cpufeature.h>
7 #ifdef CONFIG_X86_LOCAL_APIC
8 static inline bool arch_irq_work_has_interrupt(void)
10 return boot_cpu_has(X86_FEATURE_APIC);
12 extern void arch_irq_work_raise(void);
13 extern __visible void smp_irq_work_interrupt(struct pt_regs *regs);
14 #else
15 static inline bool arch_irq_work_has_interrupt(void)
17 return false;
19 #endif
21 #endif /* _ASM_IRQ_WORK_H */