diff options
author | Ingo Molnar <mingo@elte.hu> | 2007-08-09 05:16:48 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-08-09 05:16:48 -0400 |
commit | dfdc119e54f44cba70ebe1f565767d3d0640d19f (patch) | |
tree | d9110cc9cb5efbf9b186434bd6b73cfcc4055ef1 /kernel/sched_fair.c | |
parent | c7e9b5b293106c8dd6b1ca968d24f10fa919f6fd (diff) |
sched: remove the 'u64 now' parameter from __enqueue_sleeper()
remove the 'u64 now' parameter from __enqueue_sleeper().
( 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.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c index 41a37daba2d2..f4dbc7e1ce4b 100644 --- a/kernel/sched_fair.c +++ b/kernel/sched_fair.c | |||
@@ -486,8 +486,7 @@ update_stats_curr_end(struct cfs_rq *cfs_rq, struct sched_entity *se) | |||
486 | * Scheduling class queueing methods: | 486 | * Scheduling class queueing methods: |
487 | */ | 487 | */ |
488 | 488 | ||
489 | static void | 489 | static void __enqueue_sleeper(struct cfs_rq *cfs_rq, struct sched_entity *se) |
490 | __enqueue_sleeper(struct cfs_rq *cfs_rq, struct sched_entity *se, u64 now) | ||
491 | { | 490 | { |
492 | unsigned long load = cfs_rq->load.weight, delta_fair; | 491 | unsigned long load = cfs_rq->load.weight, delta_fair; |
493 | long prev_runtime; | 492 | long prev_runtime; |
@@ -537,7 +536,7 @@ enqueue_sleeper(struct cfs_rq *cfs_rq, struct sched_entity *se, u64 now) | |||
537 | se->delta_fair_sleep += delta_fair; | 536 | se->delta_fair_sleep += delta_fair; |
538 | if (unlikely(abs(se->delta_fair_sleep) >= | 537 | if (unlikely(abs(se->delta_fair_sleep) >= |
539 | sysctl_sched_stat_granularity)) { | 538 | sysctl_sched_stat_granularity)) { |
540 | __enqueue_sleeper(cfs_rq, se, now); | 539 | __enqueue_sleeper(cfs_rq, se); |
541 | se->delta_fair_sleep = 0; | 540 | se->delta_fair_sleep = 0; |
542 | } | 541 | } |
543 | 542 | ||