X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=kernel%2Fkthread.c;h=96cff2f8710baac71e7ce91ec96202665142b5e8;hb=454ed842d55740160334efc9ad56cfef54ed37bc;hp=6111c27491b1a0808929e5d4619cbc3e033fcfa8;hpb=5c402355adf8f920531f02099f4ec0d2bccd4c64;p=linux-2.6 diff --git a/kernel/kthread.c b/kernel/kthread.c index 6111c27491..96cff2f871 100644 --- a/kernel/kthread.c +++ b/kernel/kthread.c @@ -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;