Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 182514
b: refs/heads/master
c: 4a461c8
h: refs/heads/master
v: v3
  • Loading branch information
Peter Zijlstra authored and Ingo Molnar committed Feb 2, 2010
1 parent b297773 commit c6938b3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 90fdbdb48442a03c72cae5463e6edb64cb3a3a7d
refs/heads/master: 4a461c85b643258e305eb5a3aced34009db2f818
14 changes: 0 additions & 14 deletions trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand All @@ -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
Expand Down

0 comments on commit c6938b3

Please sign in to comment.