diff options
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 11119deffa48..9a38c7a24ed7 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -2300,9 +2300,7 @@ static int select_fallback_rq(int cpu, struct task_struct *p) | |||
2300 | 2300 | ||
2301 | /* No more Mr. Nice Guy. */ | 2301 | /* No more Mr. Nice Guy. */ |
2302 | if (unlikely(dest_cpu >= nr_cpu_ids)) { | 2302 | if (unlikely(dest_cpu >= nr_cpu_ids)) { |
2303 | cpumask_copy(&p->cpus_allowed, cpu_possible_mask); | 2303 | dest_cpu = cpuset_cpus_allowed_fallback(p); |
2304 | dest_cpu = cpumask_any(cpu_active_mask); | ||
2305 | |||
2306 | /* | 2304 | /* |
2307 | * Don't tell them about moving exiting tasks or | 2305 | * Don't tell them about moving exiting tasks or |
2308 | * kernel threads (both mm NULL), since they never | 2306 | * kernel threads (both mm NULL), since they never |