2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 22:53:55 +08:00

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:
Alexander Graf 2012-08-12 11:13:25 +02:00
parent 9b0cb3c808
commit e85ad380c6

View File

@ -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;