From: Paolo Bonzini Date: Tue, 6 May 2014 12:03:29 +0000 (+0200) Subject: KVM: emulate: fix harmless typo in MMX decoding X-Git-Tag: v4.14-rc1~7127^2~81 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bdc907222c5e4edd848da0c031deb55b59f1cf9a;p=platform%2Fkernel%2Flinux-rpi.git KVM: emulate: fix harmless typo in MMX decoding It was using the wrong member of the union. Signed-off-by: Paolo Bonzini --- diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c index ea976e4..8a1796b 100644 --- a/arch/x86/kvm/emulate.c +++ b/arch/x86/kvm/emulate.c @@ -1093,7 +1093,7 @@ static int decode_modrm(struct x86_emulate_ctxt *ctxt, if (ctxt->d & Mmx) { op->type = OP_MM; op->bytes = 8; - op->addr.xmm = ctxt->modrm_rm & 7; + op->addr.mm = ctxt->modrm_rm & 7; return rc; } fetch_register_operand(op);