aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index a56ead42d651..2386f5440002 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -1633,16 +1633,6 @@ static void update_shares(struct sched_domain *sd)
1633 } 1633 }
1634} 1634}
1635 1635
1636static void update_shares_locked(struct rq *rq, struct sched_domain *sd)
1637{
1638 if (root_task_group_empty())
1639 return;
1640
1641 raw_spin_unlock(&rq->lock);
1642 update_shares(sd);
1643 raw_spin_lock(&rq->lock);
1644}
1645
1646static void update_h_load(long cpu) 1636static void update_h_load(long cpu)
1647{ 1637{
1648 if (root_task_group_empty()) 1638 if (root_task_group_empty())
@@ -1657,10 +1647,6 @@ static inline void update_shares(struct sched_domain *sd)
1657{ 1647{
1658} 1648}
1659 1649
1660static inline void update_shares_locked(struct rq *rq, struct sched_domain *sd)
1661{
1662}
1663
1664#endif 1650#endif
1665 1651
1666#ifdef CONFIG_PREEMPT 1652#ifdef CONFIG_PREEMPT