|
@@ -5357,12 +5357,12 @@ build_sched_groups(struct sched_domain *sd, int cpu)
|
|
|
|
|
|
for_each_cpu(i, span) {
|
|
|
struct sched_group *sg;
|
|
|
- int group = get_group(i, sdd, &sg);
|
|
|
- int j;
|
|
|
+ int group, j;
|
|
|
|
|
|
if (cpumask_test_cpu(i, covered))
|
|
|
continue;
|
|
|
|
|
|
+ group = get_group(i, sdd, &sg);
|
|
|
cpumask_clear(sched_group_cpus(sg));
|
|
|
sg->sgp->power = 0;
|
|
|
cpumask_setall(sched_group_mask(sg));
|