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:
a5457e7
)
KVM: emulate: simplify BitOp handling
author
Paolo Bonzini
<pbonzini@redhat.com>
Tue, 1 Apr 2014 12:54:19 +0000
(14:54 +0200)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Thu, 19 Jun 2014 10:52:07 +0000
(12:52 +0200)
Memory is always the destination for BitOp instructions.
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 bc670675223de3329a72f33a1c5a889bf149e65d..ea976e478dcabc7b252e9c186ba931c364bad5dd 100644
(file)
--- a/
arch/x86/kvm/emulate.c
+++ b/
arch/x86/kvm/emulate.c
@@
-4079,7
+4079,7
@@
static int decode_operand(struct x86_emulate_ctxt *ctxt, struct operand *op,
mem_common:
*op = ctxt->memop;
ctxt->memopp = op;
- if (
(ctxt->d & BitOp) && op == &ctxt->dst
)
+ if (
ctxt->d & BitOp
)
fetch_bit_operand(ctxt);
op->orig_val = op->val;
break;