diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2013-04-27 19:10:11 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2013-06-25 19:25:32 -0400 |
commit | 1adfa76a95fe4444124a502f7cc858a39d5b8e01 (patch) | |
tree | 9c2d630bfde374e46063e549bc1c53833e42ce86 /arch/x86/kvm/vmx.c | |
parent | 2fc016c5bd8aad2e201cdf71b9fb4573f94775bd (diff) |
x86, flags: Rename X86_EFLAGS_BIT1 to X86_EFLAGS_FIXED
Bit 1 in the x86 EFLAGS is always set. Name the macro something that
actually tries to explain what it is all about, rather than being a
tautology.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Gleb Natapov <gleb@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Link: http://lkml.kernel.org/n/tip-f10rx5vjjm6tfnt8o1wseb3v@git.kernel.org
Diffstat (limited to 'arch/x86/kvm/vmx.c')
-rw-r--r-- | arch/x86/kvm/vmx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 260a91939555..b30f5a54a2ab 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c | |||
@@ -7942,7 +7942,7 @@ static void load_vmcs12_host_state(struct kvm_vcpu *vcpu, | |||
7942 | 7942 | ||
7943 | kvm_register_write(vcpu, VCPU_REGS_RSP, vmcs12->host_rsp); | 7943 | kvm_register_write(vcpu, VCPU_REGS_RSP, vmcs12->host_rsp); |
7944 | kvm_register_write(vcpu, VCPU_REGS_RIP, vmcs12->host_rip); | 7944 | kvm_register_write(vcpu, VCPU_REGS_RIP, vmcs12->host_rip); |
7945 | vmx_set_rflags(vcpu, X86_EFLAGS_BIT1); | 7945 | vmx_set_rflags(vcpu, X86_EFLAGS_FIXED); |
7946 | /* | 7946 | /* |
7947 | * Note that calling vmx_set_cr0 is important, even if cr0 hasn't | 7947 | * Note that calling vmx_set_cr0 is important, even if cr0 hasn't |
7948 | * actually changed, because it depends on the current state of | 7948 | * actually changed, because it depends on the current state of |