Merge tag 'v4.11-rc1' into omap-for-v4.11/fixes
[linux-2.6-microblaze.git] / arch / x86 / include / asm / irq_work.h
index d0afb05..f706041 100644 (file)
@@ -5,7 +5,7 @@
 
 static inline bool arch_irq_work_has_interrupt(void)
 {
-       return cpu_has_apic;
+       return boot_cpu_has(X86_FEATURE_APIC);
 }
 
 #endif /* _ASM_IRQ_WORK_H */