]> Git Repo - linux.git/blob - arch/x86/include/asm/irq_work.h
drm/xe/tests: Convert xe_mocs live tests
[linux.git] / arch / x86 / 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 #include <asm/cpufeature.h>
6
7 #ifdef CONFIG_X86_LOCAL_APIC
8 static inline bool arch_irq_work_has_interrupt(void)
9 {
10         return boot_cpu_has(X86_FEATURE_APIC);
11 }
12 #else
13 static inline bool arch_irq_work_has_interrupt(void)
14 {
15         return false;
16 }
17 #endif
18
19 #endif /* _ASM_IRQ_WORK_H */
This page took 0.032979 seconds and 4 git commands to generate.