diff options
author | Ingo Molnar <mingo@elte.hu> | 2007-08-09 05:16:47 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-08-09 05:16:47 -0400 |
commit | 5870db5b83932bea0deac3c68e3c40f377d0b8f7 (patch) | |
tree | d96d66a20dfc9e6cd7066d01235da3575fc35040 | |
parent | b7cc089657c12340077fe937380f9e54bbd6b300 (diff) |
sched: remove the 'u64 now' parameter from update_stats_wait_start()
remove the 'u64 now' parameter from update_stats_wait_start().
( identity transformation that causes no change in functionality. )
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | kernel/sched_fair.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c index 798759882822..e48f32e99a0d 100644 --- a/kernel/sched_fair.c +++ b/kernel/sched_fair.c | |||
@@ -345,7 +345,7 @@ static void update_curr(struct cfs_rq *cfs_rq) | |||
345 | } | 345 | } |
346 | 346 | ||
347 | static inline void | 347 | static inline void |
348 | update_stats_wait_start(struct cfs_rq *cfs_rq, struct sched_entity *se, u64 now) | 348 | update_stats_wait_start(struct cfs_rq *cfs_rq, struct sched_entity *se) |
349 | { | 349 | { |
350 | se->wait_start_fair = cfs_rq->fair_clock; | 350 | se->wait_start_fair = cfs_rq->fair_clock; |
351 | schedstat_set(se->wait_start, rq_of(cfs_rq)->clock); | 351 | schedstat_set(se->wait_start, rq_of(cfs_rq)->clock); |
@@ -386,7 +386,7 @@ update_stats_enqueue(struct cfs_rq *cfs_rq, struct sched_entity *se, u64 now) | |||
386 | * a dequeue/enqueue event is a NOP) | 386 | * a dequeue/enqueue event is a NOP) |
387 | */ | 387 | */ |
388 | if (se != cfs_rq_curr(cfs_rq)) | 388 | if (se != cfs_rq_curr(cfs_rq)) |
389 | update_stats_wait_start(cfs_rq, se, now); | 389 | update_stats_wait_start(cfs_rq, se); |
390 | /* | 390 | /* |
391 | * Update the key: | 391 | * Update the key: |
392 | */ | 392 | */ |
@@ -665,7 +665,7 @@ put_prev_entity(struct cfs_rq *cfs_rq, struct sched_entity *prev, u64 now) | |||
665 | update_stats_curr_end(cfs_rq, prev, now); | 665 | update_stats_curr_end(cfs_rq, prev, now); |
666 | 666 | ||
667 | if (prev->on_rq) | 667 | if (prev->on_rq) |
668 | update_stats_wait_start(cfs_rq, prev, now); | 668 | update_stats_wait_start(cfs_rq, prev); |
669 | set_cfs_rq_curr(cfs_rq, NULL); | 669 | set_cfs_rq_curr(cfs_rq, NULL); |
670 | } | 670 | } |
671 | 671 | ||