x86/cpufeature: Remove cpu_has_hypervisor
[linux-2.6-block.git] / arch / x86 / kernel / kvm.c
index 807950860fb7028e28fe1e98d8a2cddeccfa8063..dc1207e2f19390a7f3dbe5efa967ac008f19da58 100644 (file)
@@ -522,7 +522,7 @@ static noinline uint32_t __kvm_cpuid_base(void)
        if (boot_cpu_data.cpuid_level < 0)
                return 0;       /* So we don't blow up on old processors */
 
-       if (cpu_has_hypervisor)
+       if (boot_cpu_has(X86_FEATURE_HYPERVISOR))
                return hypervisor_cpuid_base("KVMKVMKVM\0\0\0", 0);
 
        return 0;