diff options
author | Ingo Molnar <mingo@elte.hu> | 2007-08-09 11:16:48 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-08-09 11:16:48 +0200 |
commit | c7e9b5b293106c8dd6b1ca968d24f10fa919f6fd (patch) | |
tree | 3d01294f508957ee8a6a1d2e9eb52143177c54b6 | |
parent | 19b6a2e3706675eea4d74729114e36968fa43577 (diff) | |
download | lwn-c7e9b5b293106c8dd6b1ca968d24f10fa919f6fd.tar.gz lwn-c7e9b5b293106c8dd6b1ca968d24f10fa919f6fd.zip |
sched: remove the 'u64 now' parameter from update_stats_curr_end()
remove the 'u64 now' parameter from update_stats_curr_end().
( identity transformation that causes no change in functionality. )
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | kernel/sched_fair.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c index 9ec912e3398e..41a37daba2d2 100644 --- a/kernel/sched_fair.c +++ b/kernel/sched_fair.c @@ -477,7 +477,7 @@ update_stats_curr_start(struct cfs_rq *cfs_rq, struct sched_entity *se) * We are descheduling a task - update its stats: */ static inline void -update_stats_curr_end(struct cfs_rq *cfs_rq, struct sched_entity *se, u64 now) +update_stats_curr_end(struct cfs_rq *cfs_rq, struct sched_entity *se) { se->exec_start = 0; } @@ -661,7 +661,7 @@ put_prev_entity(struct cfs_rq *cfs_rq, struct sched_entity *prev, u64 now) if (prev->on_rq) update_curr(cfs_rq); - update_stats_curr_end(cfs_rq, prev, now); + update_stats_curr_end(cfs_rq, prev); if (prev->on_rq) update_stats_wait_start(cfs_rq, prev); |