13010279fSFrederic Weisbecker #ifndef _ASM_IRQ_WORK_H 23010279fSFrederic Weisbecker #define _ASM_IRQ_WORK_H 33010279fSFrederic Weisbecker 4cd4d09ecSBorislav Petkov #include <asm/cpufeature.h> 53010279fSFrederic Weisbecker 63010279fSFrederic Weisbecker static inline bool arch_irq_work_has_interrupt(void) 73010279fSFrederic Weisbecker { 8*93984fbdSBorislav Petkov return boot_cpu_has(X86_FEATURE_APIC); 93010279fSFrederic Weisbecker } 103010279fSFrederic Weisbecker 113010279fSFrederic Weisbecker #endif /* _ASM_IRQ_WORK_H */ 12