x86: Convert some slow-path static_cpu_has() callers to boot_cpu_has()
[linux-2.6-microblaze.git] / arch / x86 / kernel / paravirt.c
index c0e0101..7bbaa6b 100644 (file)
@@ -121,7 +121,7 @@ DEFINE_STATIC_KEY_TRUE(virt_spin_lock_key);
 
 void __init native_pv_lock_init(void)
 {
-       if (!static_cpu_has(X86_FEATURE_HYPERVISOR))
+       if (!boot_cpu_has(X86_FEATURE_HYPERVISOR))
                static_branch_disable(&virt_spin_lock_key);
 }