]> Pileus Git - ~andy/linux/blobdiff - kernel/sched.c
Merge branch 'slabh' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc
[~andy/linux] / kernel / sched.c
index 86c7cc1d7c9da27afc58ecf96af79295500a727d..a3dff1f3f9b0c32070d3ade21f3d2da63708d099 100644 (file)
@@ -5388,7 +5388,7 @@ int set_cpus_allowed_ptr(struct task_struct *p, const struct cpumask *new_mask)
 
                get_task_struct(mt);
                task_rq_unlock(rq, &flags);
-               wake_up_process(rq->migration_thread);
+               wake_up_process(mt);
                put_task_struct(mt);
                wait_for_completion(&req.done);
                tlb_migrate_finish(p->mm);