struct sched_group *sg_shared_cap = NULL;
cpu = cpumask_first(&visit_cpus);
- cpumask_clear_cpu(cpu, &visit_cpus);
/*
* Is the group utilization affected by cpus outside this
total_energy += sg_busy_energy + sg_idle_energy;
- if (!sd->child) {
- int i;
-
- for_each_cpu(i, sched_group_cpus(sg))
- cpumask_clear_cpu(i, &visit_cpus);
- }
+ if (!sd->child)
+ cpumask_xor(&visit_cpus, &visit_cpus, sched_group_cpus(sg));
if (cpumask_equal(sched_group_cpus(sg), sched_group_cpus(eenv->sg_top)))
goto next_cpu;