aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86_emulate.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm/x86_emulate.c')
-rw-r--r--arch/x86/kvm/x86_emulate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/kvm/x86_emulate.c b/arch/x86/kvm/x86_emulate.c
index 2555762f4b42..70242f5f0964 100644
--- a/arch/x86/kvm/x86_emulate.c
+++ b/arch/x86/kvm/x86_emulate.c
@@ -1063,9 +1063,9 @@ static int emulate_pop(struct x86_emulate_ctxt *ctxt,
1063 struct decode_cache *c = &ctxt->decode; 1063 struct decode_cache *c = &ctxt->decode;
1064 int rc; 1064 int rc;
1065 1065
1066 rc = ops->read_std(register_address(c, ss_base(ctxt), 1066 rc = ops->read_emulated(register_address(c, ss_base(ctxt),
1067 c->regs[VCPU_REGS_RSP]), 1067 c->regs[VCPU_REGS_RSP]),
1068 &c->src.val, c->src.bytes, ctxt->vcpu); 1068 &c->src.val, c->src.bytes, ctxt->vcpu);
1069 if (rc != 0) 1069 if (rc != 0)
1070 return rc; 1070 return rc;
1071 1071