aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_fair.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2007-08-09 05:16:47 -0400
committerIngo Molnar <mingo@elte.hu>2007-08-09 05:16:47 -0400
commiteac55ea37642163e6bdd899ac319c413c1f1b7cd (patch)
treebe46819019671005d7e01043692a8731b3ee14c1 /kernel/sched_fair.c
parentd2417e5a3e6c79e79f982c7553301dc3539873b0 (diff)
sched: remove the 'u64 now' parameter from __update_stats_wait_end()
remove the 'u64 now' parameter from __update_stats_wait_end(). ( identity transformation that causes no change in functionality. ) Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched_fair.c')
-rw-r--r--kernel/sched_fair.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c
index 66209d688456..cfaf2b18f28a 100644
--- a/kernel/sched_fair.c
+++ b/kernel/sched_fair.c
@@ -416,7 +416,7 @@ static void update_stats_enqueue(struct cfs_rq *cfs_rq, struct sched_entity *se)
416 * Note: must be called with a freshly updated rq->fair_clock. 416 * Note: must be called with a freshly updated rq->fair_clock.
417 */ 417 */
418static inline void 418static inline void
419__update_stats_wait_end(struct cfs_rq *cfs_rq, struct sched_entity *se, u64 now) 419__update_stats_wait_end(struct cfs_rq *cfs_rq, struct sched_entity *se)
420{ 420{
421 unsigned long delta_fair = se->delta_fair_run; 421 unsigned long delta_fair = se->delta_fair_run;
422 422
@@ -441,7 +441,7 @@ update_stats_wait_end(struct cfs_rq *cfs_rq, struct sched_entity *se, u64 now)
441 se->delta_fair_run += delta_fair; 441 se->delta_fair_run += delta_fair;
442 if (unlikely(abs(se->delta_fair_run) >= 442 if (unlikely(abs(se->delta_fair_run) >=
443 sysctl_sched_stat_granularity)) { 443 sysctl_sched_stat_granularity)) {
444 __update_stats_wait_end(cfs_rq, se, now); 444 __update_stats_wait_end(cfs_rq, se);
445 se->delta_fair_run = 0; 445 se->delta_fair_run = 0;
446 } 446 }
447 447