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)
#endif
kvm_guest_exit();
vcpu->mode = OUTSIDE_GUEST_MODE;
smp_wmb();
out:
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