aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/kthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/kthread.c')
-rw-r--r--kernel/kthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/kthread.c b/kernel/kthread.c
index 9b12d65186f7..16d8ddd268b1 100644
--- a/kernel/kthread.c
+++ b/kernel/kthread.c
@@ -278,7 +278,7 @@ static void __kthread_bind(struct task_struct *p, unsigned int cpu, long state)
278 } 278 }
279 /* It's safe because the task is inactive. */ 279 /* It's safe because the task is inactive. */
280 do_set_cpus_allowed(p, cpumask_of(cpu)); 280 do_set_cpus_allowed(p, cpumask_of(cpu));
281 p->flags |= PF_THREAD_BOUND; 281 p->flags |= PF_NO_SETAFFINITY;
282} 282}
283 283
284/** 284/**