KVM: Use cond_resched() directly and remove useless kvm_resched()
[firefly-linux-kernel-4.4.55.git] / arch / ia64 / kvm / kvm-ia64.c
index 985bf80c622e6dea757f16e75cb5004210196cd3..53f44bee9ebb2cc1efcb4c46b0549b5cfd9a4a48 100644 (file)
@@ -702,7 +702,7 @@ again:
 out:
        srcu_read_unlock(&vcpu->kvm->srcu, idx);
        if (r > 0) {
-               kvm_resched(vcpu);
+               cond_resched();
                idx = srcu_read_lock(&vcpu->kvm->srcu);
                goto again;
        }