diff options
author | Gleb Natapov <gleb@redhat.com> | 2010-03-15 10:38:31 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-05-17 05:15:50 -0400 |
commit | 49c6799a2ce3a6a4dd66021dabeb468901c7a700 (patch) | |
tree | 3830df00dd47736fa1eaa2ce13c3f868b80018f1 /arch/x86/include/asm | |
parent | af5b4f7ff7ec76400b89db9538accd9aeb996da4 (diff) |
KVM: Remove pointer to rflags from realmode_set_cr parameters.
Mov reg, cr instruction doesn't change flags in any meaningful way, so
no need to update rflags after instruction execution.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index 28826c82d1e2..53f520259471 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h | |||
@@ -587,8 +587,7 @@ void realmode_lmsw(struct kvm_vcpu *vcpu, unsigned long msw, | |||
587 | unsigned long *rflags); | 587 | unsigned long *rflags); |
588 | 588 | ||
589 | unsigned long realmode_get_cr(struct kvm_vcpu *vcpu, int cr); | 589 | unsigned long realmode_get_cr(struct kvm_vcpu *vcpu, int cr); |
590 | void realmode_set_cr(struct kvm_vcpu *vcpu, int cr, unsigned long value, | 590 | void realmode_set_cr(struct kvm_vcpu *vcpu, int cr, unsigned long value); |
591 | unsigned long *rflags); | ||
592 | void kvm_enable_efer_bits(u64); | 591 | void kvm_enable_efer_bits(u64); |
593 | int kvm_get_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 *data); | 592 | int kvm_get_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 *data); |
594 | int kvm_set_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 data); | 593 | int kvm_set_msr(struct kvm_vcpu *vcpu, u32 msr_index, u64 data); |