Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100245
b: refs/heads/master
c: 34e83e8
h: refs/heads/master
i:
  100243: e33208e
v: v3
  • Loading branch information
Ingo Molnar committed Jun 30, 2008
1 parent 48c0cca commit afe16b1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 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: 2d452c9b10caeec455eb5e56a0ef4ed485178213
refs/heads/master: 34e83e850f5e5ee2a18cd77a5d70d31972a632e6
12 changes: 7 additions & 5 deletions trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -1627,11 +1627,6 @@ static void update_h_load(int cpu)
walk_tg_tree(tg_load_down, tg_nop, cpu, NULL);
}

static void cfs_rq_set_shares(struct cfs_rq *cfs_rq, unsigned long shares)
{
cfs_rq->shares = shares;
}

#else

static inline void update_shares(struct sched_domain *sd)
Expand All @@ -1646,6 +1641,13 @@ static inline void update_shares_locked(struct rq *rq, struct sched_domain *sd)

#endif

static void cfs_rq_set_shares(struct cfs_rq *cfs_rq, unsigned long shares)
{
#if defined(CONFIG_SMP) && defined(CONFIG_FAIR_GROUP_SCHED)
cfs_rq->shares = shares;
#endif
}

#include "sched_stats.h"
#include "sched_idletask.c"
#include "sched_fair.c"
Expand Down

0 comments on commit afe16b1

Please sign in to comment.