提交 4a461c85 编写于 作者: P Peter Zijlstra 提交者: Ingo Molnar

sched: Remove unused update_shares_locked()

Commit f492e12e ("sched: Remove
load_balance_newidle()") removed the only user of this function,
so remove it too.
Reported-by: NStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: NPeter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1265019219.24455.128.camel@laptop>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 90fdbdb4
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册