projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
342fc63
)
KVM: x86 emulator: change invlpg emulation to use src.mem.addr
author
Avi Kivity
<avi@redhat.com>
Sun, 1 Aug 2010 12:19:22 +0000
(15:19 +0300)
committer
Avi Kivity
<avi@redhat.com>
Sun, 24 Oct 2010 08:50:39 +0000
(10:50 +0200)
Instead of using modrm_ea, which will soon be gone.
Signed-off-by: Avi Kivity <avi@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
b8aa667
..
eda6941
100644
(file)
--- a/
arch/x86/kvm/emulate.c
+++ b/
arch/x86/kvm/emulate.c
@@
-3206,7
+3206,7
@@
twobyte_insn:
emulate_ud(ctxt);
goto done;
case 7: /* invlpg*/
- emulate_invlpg(ctxt->vcpu, c->
modrm_ea
);
+ emulate_invlpg(ctxt->vcpu, c->
src.addr.mem
);
/* Disable writeback. */
c->dst.type = OP_NONE;
break;