projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
518f040
)
KVM: PPC: Fix stbux emulation
author
Alexander Graf
<agraf@suse.de>
Thu, 26 Apr 2012 23:00:17 +0000
(
01:00
+0200)
committer
Alexander Graf
<agraf@suse.de>
Sun, 6 May 2012 14:19:10 +0000
(16:19 +0200)
Stbux writes the address it's operating on to the register specified in ra,
not into the data source register.
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/emulate.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kvm/emulate.c
b/arch/powerpc/kvm/emulate.c
index
b5872f6
..
a27d4dc
100644
(file)
--- a/
arch/powerpc/kvm/emulate.c
+++ b/
arch/powerpc/kvm/emulate.c
@@
-229,7
+229,7
@@
int kvmppc_emulate_instruction(struct kvm_run *run, struct kvm_vcpu *vcpu)
emulated = kvmppc_handle_store(run, vcpu,
kvmppc_get_gpr(vcpu, rs),
1, 1);
- kvmppc_set_gpr(vcpu, r
s
, vcpu->arch.vaddr_accessed);
+ kvmppc_set_gpr(vcpu, r
a
, vcpu->arch.vaddr_accessed);
break;
case OP_31_XOP_LHAX: