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: Replace cpu_has_xsaves with boot_cpu_has() usage
[linux-2.6-block.git]
/
arch
/
x86
/
kvm
/
vmx.c
diff --git
a/arch/x86/kvm/vmx.c
b/arch/x86/kvm/vmx.c
index ee1c8a93871c551f9cddc93de56197806d0c0cfd..d5908bde93429d5d5759478d4c61380935e4b706 100644
(file)
--- a/
arch/x86/kvm/vmx.c
+++ b/
arch/x86/kvm/vmx.c
@@
-3386,7
+3386,7
@@
static __init int setup_vmcs_config(struct vmcs_config *vmcs_conf)
}
}
- if (
cpu_has_xsaves
)
+ if (
boot_cpu_has(X86_FEATURE_XSAVES)
)
rdmsrl(MSR_IA32_XSS, host_xss);
return 0;