projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b0cb3c
)
KVM: PPC: BookE: Drop redundant vcpu->mode set
author
Alexander Graf
<agraf@suse.de>
Sun, 12 Aug 2012 09:13:25 +0000
(11:13 +0200)
committer
Alexander Graf
<agraf@suse.de>
Fri, 5 Oct 2012 21:38:43 +0000
(23:38 +0200)
We only need to set vcpu->mode to outside once.
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/booke.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/kvm/booke.c
b/arch/powerpc/kvm/booke.c
index 4652e0bfa781da9bf038b15e2458650051df0e41..492c343f598ee0ab424ac76a44951c842564cc14 100644
(file)
--- a/
arch/powerpc/kvm/booke.c
+++ b/
arch/powerpc/kvm/booke.c
@@
-528,8
+528,6
@@
int kvmppc_vcpu_run(struct kvm_run *kvm_run, struct kvm_vcpu *vcpu)
#endif
kvm_guest_exit();
- vcpu->mode = OUTSIDE_GUEST_MODE;
- smp_wmb();
out:
vcpu->mode = OUTSIDE_GUEST_MODE;