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>
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user