|
@@ -1633,16 +1633,6 @@ static void update_shares(struct sched_domain *sd)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-static void update_shares_locked(struct rq *rq, struct sched_domain *sd)
|
|
|
-{
|
|
|
- if (root_task_group_empty())
|
|
|
- return;
|
|
|
-
|
|
|
- raw_spin_unlock(&rq->lock);
|
|
|
- update_shares(sd);
|
|
|
- raw_spin_lock(&rq->lock);
|
|
|
-}
|
|
|
-
|
|
|
static void update_h_load(long cpu)
|
|
|
{
|
|
|
if (root_task_group_empty())
|
|
@@ -1657,10 +1647,6 @@ static inline void update_shares(struct sched_domain *sd)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
-static inline void update_shares_locked(struct rq *rq, struct sched_domain *sd)
|
|
|
-{
|
|
|
-}
|
|
|
-
|
|
|
#endif
|
|
|
|
|
|
#ifdef CONFIG_PREEMPT
|