summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm/booke.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2012-08-12 11:13:25 +0200
committerAlexander Graf <agraf@suse.de>2012-10-05 23:38:43 +0200
commite85ad380c6bf6dcd4776d313c81d16a6293db136 (patch)
tree68b75ce091e6bd7d17aab1ff802fbe10b16f8be8 /arch/powerpc/kvm/booke.c
parent9b0cb3c808fef0d75d6f79ab9684246e6879f9c1 (diff)
downloadlinux-e85ad380c6bf6dcd4776d313c81d16a6293db136.tar.bz2
KVM: PPC: BookE: Drop redundant vcpu->mode set
We only need to set vcpu->mode to outside once. Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/kvm/booke.c')
-rw-r--r--arch/powerpc/kvm/booke.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/kvm/booke.c b/arch/powerpc/kvm/booke.c
index 4652e0bfa781..492c343f598e 100644
--- 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;