We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f56ee7 commit e3831edCopy full SHA for e3831ed
kernel/sched/core.c
@@ -1268,7 +1268,7 @@ static int select_fallback_rq(int cpu, struct task_struct *p)
1268
int dest_cpu;
1269
1270
/* Look for allowed, online CPU in same node. */
1271
- for_each_cpu_mask(dest_cpu, *nodemask) {
+ for_each_cpu(dest_cpu, nodemask) {
1272
if (!cpu_online(dest_cpu))
1273
continue;
1274
if (!cpu_active(dest_cpu))
@@ -1279,7 +1279,7 @@ static int select_fallback_rq(int cpu, struct task_struct *p)
1279
1280
for (;;) {
1281
/* Any allowed, online CPU? */
1282
- for_each_cpu_mask(dest_cpu, *tsk_cpus_allowed(p)) {
+ for_each_cpu(dest_cpu, tsk_cpus_allowed(p)) {
1283
1284
1285
0 commit comments