diff options
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 7ffde2ae7868..87f1f47beffe 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -2346,7 +2346,7 @@ int select_task_rq(struct task_struct *p, int sd_flags, int wake_flags) | |||
2346 | * not worry about this generic constraint ] | 2346 | * not worry about this generic constraint ] |
2347 | */ | 2347 | */ |
2348 | if (unlikely(!cpumask_test_cpu(cpu, &p->cpus_allowed) || | 2348 | if (unlikely(!cpumask_test_cpu(cpu, &p->cpus_allowed) || |
2349 | !cpu_active(cpu))) | 2349 | !cpu_online(cpu))) |
2350 | cpu = select_fallback_rq(task_cpu(p), p); | 2350 | cpu = select_fallback_rq(task_cpu(p), p); |
2351 | 2351 | ||
2352 | return cpu; | 2352 | return cpu; |