aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--virt/kvm/kvm_main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index 7495ce347344..22b520b54411 100644
--- a/virt/kvm/kvm_main.c
+++ b/virt/kvm/kvm_main.c
@@ -1689,9 +1689,7 @@ void kvm_vcpu_block(struct kvm_vcpu *vcpu)
1689 if (signal_pending(current)) 1689 if (signal_pending(current))
1690 break; 1690 break;
1691 1691
1692 vcpu_put(vcpu);
1693 schedule(); 1692 schedule();
1694 vcpu_load(vcpu);
1695 } 1693 }
1696 1694
1697 finish_wait(&vcpu->wq, &wait); 1695 finish_wait(&vcpu->wq, &wait);