Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e85ad380 authored by Alexander Graf's avatar Alexander Graf
Browse files

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
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;