xref: /linux/arch/x86/include/asm/irq_work.h (revision f3a8b6645dc2e60d11f20c1c23afd964ff4e55ae)
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