Commit e85ad380 authored by Alexander Graf's avatar Alexander Graf

KVM: PPC: BookE: Drop redundant vcpu->mode set

We only need to set vcpu->mode to outside once.
Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent 9b0cb3c8
...@@ -528,8 +528,6 @@ int kvmppc_vcpu_run(struct kvm_run *kvm_run, struct kvm_vcpu *vcpu) ...@@ -528,8 +528,6 @@ int kvmppc_vcpu_run(struct kvm_run *kvm_run, struct kvm_vcpu *vcpu)
#endif #endif
kvm_guest_exit(); kvm_guest_exit();
vcpu->mode = OUTSIDE_GUEST_MODE;
smp_wmb();
out: out:
vcpu->mode = OUTSIDE_GUEST_MODE; vcpu->mode = OUTSIDE_GUEST_MODE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment