]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: Simplify saving guest rcx in vmx_vcpu_run
authorAvi Kivity <avi@redhat.com>
Thu, 6 Jan 2011 16:09:11 +0000 (18:09 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Thu, 17 Mar 2011 16:08:25 +0000 (13:08 -0300)
commit3a38f2681a97e515e2185e5e03366bd838b7aa76
treecba560950eb5404c6083d570e4c4b951003237fc
parenta50ab648b1c696533f67423ab0df026358ae02c9
KVM: VMX: Simplify saving guest rcx in vmx_vcpu_run

Change

  push top-of-stack
  pop guest-rcx
  pop dummy

to

  pop guest-rcx

which is the same thing, only simpler.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/vmx.c