@@ -5952,15 +5952,15 @@ static void free_sched_domain(struct rcu_head *rcu)
5952
5952
kfree (sd );
5953
5953
}
5954
5954
5955
- static void destroy_sched_domain (struct sched_domain * sd , int cpu )
5955
+ static void destroy_sched_domain (struct sched_domain * sd )
5956
5956
{
5957
5957
call_rcu (& sd -> rcu , free_sched_domain );
5958
5958
}
5959
5959
5960
- static void destroy_sched_domains (struct sched_domain * sd , int cpu )
5960
+ static void destroy_sched_domains (struct sched_domain * sd )
5961
5961
{
5962
5962
for (; sd ; sd = sd -> parent )
5963
- destroy_sched_domain (sd , cpu );
5963
+ destroy_sched_domain (sd );
5964
5964
}
5965
5965
5966
5966
/*
@@ -6032,15 +6032,15 @@ cpu_attach_domain(struct sched_domain *sd, struct root_domain *rd, int cpu)
6032
6032
*/
6033
6033
if (parent -> flags & SD_PREFER_SIBLING )
6034
6034
tmp -> flags |= SD_PREFER_SIBLING ;
6035
- destroy_sched_domain (parent , cpu );
6035
+ destroy_sched_domain (parent );
6036
6036
} else
6037
6037
tmp = tmp -> parent ;
6038
6038
}
6039
6039
6040
6040
if (sd && sd_degenerate (sd )) {
6041
6041
tmp = sd ;
6042
6042
sd = sd -> parent ;
6043
- destroy_sched_domain (tmp , cpu );
6043
+ destroy_sched_domain (tmp );
6044
6044
if (sd )
6045
6045
sd -> child = NULL ;
6046
6046
}
@@ -6050,7 +6050,7 @@ cpu_attach_domain(struct sched_domain *sd, struct root_domain *rd, int cpu)
6050
6050
rq_attach_root (rq , rd );
6051
6051
tmp = rq -> sd ;
6052
6052
rcu_assign_pointer (rq -> sd , sd );
6053
- destroy_sched_domains (tmp , cpu );
6053
+ destroy_sched_domains (tmp );
6054
6054
6055
6055
update_top_cache_domain (cpu );
6056
6056
}
0 commit comments