Messages in this thread Patch in this message | | | From | Paolo Bonzini <> | Subject | [PATCH 25/25] KVM: emulate: fix harmless typo in MMX decoding | Date | Mon, 9 Jun 2014 14:59:13 +0200 |
| |
It was using the wrong member of the union.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> --- arch/x86/kvm/emulate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c index 2e8f0e674616..b8dc78f4672d 100644 --- a/arch/x86/kvm/emulate.c +++ b/arch/x86/kvm/emulate.c @@ -1081,7 +1081,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); -- 1.8.3.1
| |