]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - arch/x86/kvm/vmx.c
x86/cpufeature: Replace cpu_has_xsaves with boot_cpu_has() usage
[mirror_ubuntu-artful-kernel.git] / arch / x86 / kvm / vmx.c
index ee1c8a93871c551f9cddc93de56197806d0c0cfd..d5908bde93429d5d5759478d4c61380935e4b706 100644 (file)
@@ -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;