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:
parent
9b0cb3c808
commit
e85ad380c6
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue