projects
/
cascardo
/
linux.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
[cascardo/linux.git]
/
arch
/
x86
/
kernel
/
cpu
/
vmware.c
diff --git
a/arch/x86/kernel/cpu/vmware.c
b/arch/x86/kernel/cpu/vmware.c
index
364e583
..
8cac429
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];