]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/kthread.c
[SCSI] sun3x_esp: Convert && to ||
[linux-2.6-omap-h63xx.git] / kernel / kthread.c
index 6111c27491b1a0808929e5d4619cbc3e033fcfa8..96cff2f8710baac71e7ce91ec96202665142b5e8 100644 (file)
@@ -176,7 +176,7 @@ void kthread_bind(struct task_struct *k, unsigned int cpu)
                return;
        }
        /* Must have done schedule() in kthread() before we set_task_cpu */
-       wait_task_inactive(k);
+       wait_task_inactive(k, 0);
        set_task_cpu(k, cpu);
        k->cpus_allowed = cpumask_of_cpu(cpu);
        k->rt.nr_cpus_allowed = 1;