mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 19:56:18 +00:00
sched: style cleanups
4 small style cleanups to sched.c: checkpatch.pl is now happy about the totality of sched.c [ignoring false positives] - yay! ;-) Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
23bdd703a5
commit
9761eea851
1 changed files with 7 additions and 6 deletions
|
@ -1350,10 +1350,10 @@ static int wake_idle(int cpu, struct task_struct *p)
|
||||||
if (idle_cpu(i))
|
if (idle_cpu(i))
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
else
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return cpu;
|
return cpu;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
@ -5920,6 +5920,7 @@ static int build_sched_domains(const cpumask_t *cpu_map)
|
||||||
sched_group_nodes[i] = sg;
|
sched_group_nodes[i] = sg;
|
||||||
for_each_cpu_mask(j, nodemask) {
|
for_each_cpu_mask(j, nodemask) {
|
||||||
struct sched_domain *sd;
|
struct sched_domain *sd;
|
||||||
|
|
||||||
sd = &per_cpu(node_domains, j);
|
sd = &per_cpu(node_domains, j);
|
||||||
sd->groups = sg;
|
sd->groups = sg;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue