mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 09:01:36 -04: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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user