mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-17 01:54:01 +08:00
KVM: emulate: fix harmless typo in MMX decoding
It was using the wrong member of the union. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
9688897717
commit
bdc907222c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user