]> Pileus Git - ~andy/linux/blobdiff - kernel/kthread.c
Merge branch 'for-3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq
[~andy/linux] / kernel / kthread.c
index 9b12d65186f7fd80c18eba2001918c747864c5c8..16d8ddd268b1b9c60db1afc6377f72a0754e8d6a 100644 (file)
@@ -278,7 +278,7 @@ static void __kthread_bind(struct task_struct *p, unsigned int cpu, long state)
        }
        /* It's safe because the task is inactive. */
        do_set_cpus_allowed(p, cpumask_of(cpu));
-       p->flags |= PF_THREAD_BOUND;
+       p->flags |= PF_NO_SETAFFINITY;
 }
 
 /**