提交 e85ad380 编写于 作者: A Alexander Graf

KVM: PPC: BookE: Drop redundant vcpu->mode set

We only need to set vcpu->mode to outside once.
Signed-off-by: NAlexander Graf <agraf@suse.de>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册