diff options
author | Alexander Graf <agraf@suse.de> | 2012-08-12 11:13:25 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2012-10-05 23:38:43 +0200 |
commit | e85ad380c6bf6dcd4776d313c81d16a6293db136 (patch) | |
tree | 68b75ce091e6bd7d17aab1ff802fbe10b16f8be8 /arch/powerpc/kvm/booke.c | |
parent | KVM: PPC: Book3s: PR: Add (dumb) MMU Notifier support (diff) | |
download | linux-e85ad380c6bf6dcd4776d313c81d16a6293db136.tar.xz linux-e85ad380c6bf6dcd4776d313c81d16a6293db136.zip |
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 '')
-rw-r--r-- | arch/powerpc/kvm/booke.c | 2 |
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; |