diff options
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 49d2fa7b687a..a3dff1f3f9b0 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -71,6 +71,7 @@ | |||
71 | #include <linux/debugfs.h> | 71 | #include <linux/debugfs.h> |
72 | #include <linux/ctype.h> | 72 | #include <linux/ctype.h> |
73 | #include <linux/ftrace.h> | 73 | #include <linux/ftrace.h> |
74 | #include <linux/slab.h> | ||
74 | 75 | ||
75 | #include <asm/tlb.h> | 76 | #include <asm/tlb.h> |
76 | #include <asm/irq_regs.h> | 77 | #include <asm/irq_regs.h> |
@@ -5387,7 +5388,7 @@ int set_cpus_allowed_ptr(struct task_struct *p, const struct cpumask *new_mask) | |||
5387 | 5388 | ||
5388 | get_task_struct(mt); | 5389 | get_task_struct(mt); |
5389 | task_rq_unlock(rq, &flags); | 5390 | task_rq_unlock(rq, &flags); |
5390 | wake_up_process(rq->migration_thread); | 5391 | wake_up_process(mt); |
5391 | put_task_struct(mt); | 5392 | put_task_struct(mt); |
5392 | wait_for_completion(&req.done); | 5393 | wait_for_completion(&req.done); |
5393 | tlb_migrate_finish(p->mm); | 5394 | tlb_migrate_finish(p->mm); |