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