Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-block.git] / virt / kvm / kvm_main.c
index c86be0f983db706c81cfe60aedfb77f4a315e20f..4b6c01b477f9cf86df4a69504de6940c5f6bebbf 100644 (file)
@@ -1714,11 +1714,11 @@ void kvm_vcpu_kick(struct kvm_vcpu *vcpu)
 EXPORT_SYMBOL_GPL(kvm_vcpu_kick);
 #endif /* !CONFIG_S390 */
 
-bool kvm_vcpu_yield_to(struct kvm_vcpu *target)
+int kvm_vcpu_yield_to(struct kvm_vcpu *target)
 {
        struct pid *pid;
        struct task_struct *task = NULL;
-       bool ret = false;
+       int ret = 0;
 
        rcu_read_lock();
        pid = rcu_dereference(target->pid);