diff options
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 92b4b56ad093..7601ceebf7ce 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -7995,7 +7995,7 @@ static void init_numa_sched_groups_power(struct sched_group *group_head) | |||
7995 | struct sched_domain *sd; | 7995 | struct sched_domain *sd; |
7996 | 7996 | ||
7997 | sd = &per_cpu(phys_domains, j).sd; | 7997 | sd = &per_cpu(phys_domains, j).sd; |
7998 | if (j != cpumask_first(sched_group_cpus(sd->groups))) { | 7998 | if (j != group_first_cpu(sd->groups)) { |
7999 | /* | 7999 | /* |
8000 | * Only add "power" once for each | 8000 | * Only add "power" once for each |
8001 | * physical package. | 8001 | * physical package. |
@@ -8073,7 +8073,7 @@ static void init_sched_groups_power(int cpu, struct sched_domain *sd) | |||
8073 | 8073 | ||
8074 | WARN_ON(!sd || !sd->groups); | 8074 | WARN_ON(!sd || !sd->groups); |
8075 | 8075 | ||
8076 | if (cpu != cpumask_first(sched_group_cpus(sd->groups))) | 8076 | if (cpu != group_first_cpu(sd->groups)) |
8077 | return; | 8077 | return; |
8078 | 8078 | ||
8079 | child = sd->child; | 8079 | child = sd->child; |