|
@@ -2346,7 +2346,7 @@ int select_task_rq(struct task_struct *p, int sd_flags, int wake_flags)
|
|
* not worry about this generic constraint ]
|
|
* not worry about this generic constraint ]
|
|
*/
|
|
*/
|
|
if (unlikely(!cpumask_test_cpu(cpu, &p->cpus_allowed) ||
|
|
if (unlikely(!cpumask_test_cpu(cpu, &p->cpus_allowed) ||
|
|
- !cpu_active(cpu)))
|
|
|
|
|
|
+ !cpu_online(cpu)))
|
|
cpu = select_fallback_rq(task_cpu(p), p);
|
|
cpu = select_fallback_rq(task_cpu(p), p);
|
|
|
|
|
|
return cpu;
|
|
return cpu;
|