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
/
cpu
/
vmware.c
diff --git
a/arch/x86/kernel/cpu/vmware.c
b/arch/x86/kernel/cpu/vmware.c
index 364e5834689753fc7da34c6dc8a34cca22ab92db..8cac429b6a1d53255899e84459ab9436d3df4100 100644
(file)
--- a/
arch/x86/kernel/cpu/vmware.c
+++ b/
arch/x86/kernel/cpu/vmware.c
@@
-94,7
+94,7
@@
static void __init vmware_platform_setup(void)
*/
static uint32_t __init vmware_platform(void)
{
- if (
cpu_has_hypervisor
) {
+ if (
boot_cpu_has(X86_FEATURE_HYPERVISOR)
) {
unsigned int eax;
unsigned int hyper_vendor_id[3];