Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 69096
b: refs/heads/master
c: a03c906
h: refs/heads/master
v: v3
  • Loading branch information
Dmitry Adamushko authored and Ingo Molnar committed Oct 15, 2007
1 parent 862ce67 commit cb430b0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 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: a4ec24b48ddef1e93f7578be53270f0b95ad666c
refs/heads/master: a03c9061d93822f66eb6287f8e9cf5833a12b49c
11 changes: 0 additions & 11 deletions trunk/kernel/sched_fair.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,17 +342,6 @@ update_stats_wait_start(struct cfs_rq *cfs_rq, struct sched_entity *se)
schedstat_set(se->wait_start, rq_of(cfs_rq)->clock);
}

static inline unsigned long
calc_weighted(unsigned long delta, struct sched_entity *se)
{
unsigned long weight = se->load.weight;

if (unlikely(weight != NICE_0_LOAD))
return (u64)delta * se->load.weight >> NICE_0_SHIFT;
else
return delta;
}

/*
* Task is being enqueued - update stats:
*/
Expand Down

0 comments on commit cb430b0

Please sign in to comment.