diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2013-04-27 19:37:47 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2013-06-25 19:26:06 -0400 |
commit | afcbf13fa6d53d8a97eafaca1dcb344331d2ce0c (patch) | |
tree | 8c2d5909956757f63806ae03ef838218424cccb8 /arch/x86/kvm/x86.c | |
parent | 1adfa76a95fe4444124a502f7cc858a39d5b8e01 (diff) |
x86: Rename X86_CR4_RDWRGSFS to X86_CR4_FSGSBASE
Rename X86_CR4_RDWRGSFS to X86_CR4_FSGSBASE to match the SDM.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Gleb Natapov <gleb@redhat.com>
Link: http://lkml.kernel.org/n/tip-buq1evi5dpykxx7ak6amaam0@git.kernel.org
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r-- | arch/x86/kvm/x86.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 094b5d96ab14..6b941b4fe13c 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
@@ -619,7 +619,7 @@ int kvm_set_cr4(struct kvm_vcpu *vcpu, unsigned long cr4) | |||
619 | if (!guest_cpuid_has_smep(vcpu) && (cr4 & X86_CR4_SMEP)) | 619 | if (!guest_cpuid_has_smep(vcpu) && (cr4 & X86_CR4_SMEP)) |
620 | return 1; | 620 | return 1; |
621 | 621 | ||
622 | if (!guest_cpuid_has_fsgsbase(vcpu) && (cr4 & X86_CR4_RDWRGSFS)) | 622 | if (!guest_cpuid_has_fsgsbase(vcpu) && (cr4 & X86_CR4_FSGSBASE)) |
623 | return 1; | 623 | return 1; |
624 | 624 | ||
625 | if (is_long_mode(vcpu)) { | 625 | if (is_long_mode(vcpu)) { |