]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blob - arch/x86/include/asm/irq_work.h
Input: wm97xx: add new AC97 bus support
[mirror_ubuntu-focal-kernel.git] / arch / x86 / include / asm / irq_work.h
1 #ifndef _ASM_IRQ_WORK_H
2 #define _ASM_IRQ_WORK_H
3
4 #include <asm/cpufeature.h>
5
6 #ifdef CONFIG_X86_LOCAL_APIC
7 static inline bool arch_irq_work_has_interrupt(void)
8 {
9 return boot_cpu_has(X86_FEATURE_APIC);
10 }
11 extern void arch_irq_work_raise(void);
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 */