aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 1038ca163890..8cafe3ff558f 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>
@@ -5344,7 +5345,7 @@ int set_cpus_allowed_ptr(struct task_struct *p, const struct cpumask *new_mask)
5344 5345
5345 get_task_struct(mt); 5346 get_task_struct(mt);
5346 task_rq_unlock(rq, &flags); 5347 task_rq_unlock(rq, &flags);
5347 wake_up_process(rq->migration_thread); 5348 wake_up_process(mt);
5348 put_task_struct(mt); 5349 put_task_struct(mt);
5349 wait_for_completion(&req.done); 5350 wait_for_completion(&req.done);
5350 tlb_migrate_finish(p->mm); 5351 tlb_migrate_finish(p->mm);