aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/sched/core.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index d8f071cc9f51..342e74419f8f 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -5943,9 +5943,8 @@ static void __sdt_free(const struct cpumask *cpu_map)
5943} 5943}
5944 5944
5945struct sched_domain *build_sched_domain(struct sched_domain_topology_level *tl, 5945struct sched_domain *build_sched_domain(struct sched_domain_topology_level *tl,
5946 struct s_data *d, const struct cpumask *cpu_map, 5946 const struct cpumask *cpu_map, struct sched_domain_attr *attr,
5947 struct sched_domain_attr *attr, struct sched_domain *child, 5947 struct sched_domain *child, int cpu)
5948 int cpu)
5949{ 5948{
5950 struct sched_domain *sd = tl->init(tl, cpu); 5949 struct sched_domain *sd = tl->init(tl, cpu);
5951 if (!sd) 5950 if (!sd)
@@ -5985,7 +5984,7 @@ static int build_sched_domains(const struct cpumask *cpu_map,
5985 5984
5986 sd = NULL; 5985 sd = NULL;
5987 for (tl = sched_domain_topology; tl->init; tl++) { 5986 for (tl = sched_domain_topology; tl->init; tl++) {
5988 sd = build_sched_domain(tl, &d, cpu_map, attr, sd, i); 5987 sd = build_sched_domain(tl, cpu_map, attr, sd, i);
5989 if (tl->flags & SDTL_OVERLAP || sched_feat(FORCE_SD_OVERLAP)) 5988 if (tl->flags & SDTL_OVERLAP || sched_feat(FORCE_SD_OVERLAP))
5990 sd->flags |= SD_OVERLAP; 5989 sd->flags |= SD_OVERLAP;
5991 if (cpumask_equal(cpu_map, sched_domain_span(sd))) 5990 if (cpumask_equal(cpu_map, sched_domain_span(sd)))