projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9688897
)
KVM: emulate: fix harmless typo in MMX decoding
author
Paolo Bonzini
<pbonzini@redhat.com>
Tue, 6 May 2014 12:03:29 +0000
(14:03 +0200)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Thu, 19 Jun 2014 10:52:07 +0000
(12:52 +0200)
It was using the wrong member of the union.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/emulate.c
patch
|
blob
|
history
diff --git
a/arch/x86/kvm/emulate.c
b/arch/x86/kvm/emulate.c
index ea976e478dcabc7b252e9c186ba931c364bad5dd..8a1796b1eef257cb1a2d03354c0ce3d3a5b34713 100644
(file)
--- 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.
x
mm = ctxt->modrm_rm & 7;
+ op->addr.mm = ctxt->modrm_rm & 7;
return rc;
}
fetch_register_operand(op);