diff --git a/[refs] b/[refs] index bf4585a9e2ae..a9e97395980e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0297b80339d545045490716fa8591b215fdd9458 +refs/heads/master: 9f0e738f492522a2f70ad9a2a0287e4e966c633a diff --git a/trunk/kernel/kthread.c b/trunk/kernel/kthread.c index 0ac887882f90..25241d6ec8cd 100644 --- a/trunk/kernel/kthread.c +++ b/trunk/kernel/kthread.c @@ -180,6 +180,7 @@ void kthread_bind(struct task_struct *k, unsigned int cpu) wait_task_inactive(k); set_task_cpu(k, cpu); k->cpus_allowed = cpumask_of_cpu(cpu); + k->rt.nr_cpus_allowed = 1; } EXPORT_SYMBOL(kthread_bind);