projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/cpufeature: Remove cpu_has_hypervisor
[linux-2.6-block.git]
/
arch
/
x86
/
kernel
/
kvm.c
diff --git
a/arch/x86/kernel/kvm.c
b/arch/x86/kernel/kvm.c
index 807950860fb7028e28fe1e98d8a2cddeccfa8063..dc1207e2f19390a7f3dbe5efa967ac008f19da58 100644
(file)
--- a/
arch/x86/kernel/kvm.c
+++ b/
arch/x86/kernel/kvm.c
@@
-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;