xref: /linux/arch/x86/include/asm/irq_work.h (revision 0883c2c06fb5bcf5b9e008270827e63c09a88c1e)
1 #ifndef _ASM_IRQ_WORK_H
2 #define _ASM_IRQ_WORK_H
3 
4 #include <asm/cpufeature.h>
5 
6 static inline bool arch_irq_work_has_interrupt(void)
7 {
8 	return boot_cpu_has(X86_FEATURE_APIC);
9 }
10 
11 #endif /* _ASM_IRQ_WORK_H */
12