aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index aa14a56f9d03..36a088018fe0 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -6960,6 +6960,8 @@ static void init_sched_groups_power(int cpu, struct sched_domain *sd)
6960 if (cpu != group_first_cpu(sd->groups)) 6960 if (cpu != group_first_cpu(sd->groups))
6961 return; 6961 return;
6962 6962
6963 sd->groups->group_weight = cpumask_weight(sched_group_cpus(sd->groups));
6964
6963 child = sd->child; 6965 child = sd->child;
6964 6966
6965 sd->groups->cpu_power = 0; 6967 sd->groups->cpu_power = 0;