aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/sched/core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 985f6e595154..8773176b8c77 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -1268,7 +1268,7 @@ static int select_fallback_rq(int cpu, struct task_struct *p)
1268 int dest_cpu; 1268 int dest_cpu;
1269 1269
1270 /* Look for allowed, online CPU in same node. */ 1270 /* Look for allowed, online CPU in same node. */
1271 for_each_cpu_mask(dest_cpu, *nodemask) { 1271 for_each_cpu(dest_cpu, nodemask) {
1272 if (!cpu_online(dest_cpu)) 1272 if (!cpu_online(dest_cpu))
1273 continue; 1273 continue;
1274 if (!cpu_active(dest_cpu)) 1274 if (!cpu_active(dest_cpu))
@@ -1279,7 +1279,7 @@ static int select_fallback_rq(int cpu, struct task_struct *p)
1279 1279
1280 for (;;) { 1280 for (;;) {
1281 /* Any allowed, online CPU? */ 1281 /* Any allowed, online CPU? */
1282 for_each_cpu_mask(dest_cpu, *tsk_cpus_allowed(p)) { 1282 for_each_cpu(dest_cpu, tsk_cpus_allowed(p)) {
1283 if (!cpu_online(dest_cpu)) 1283 if (!cpu_online(dest_cpu))
1284 continue; 1284 continue;
1285 if (!cpu_active(dest_cpu)) 1285 if (!cpu_active(dest_cpu))