summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2007-08-09 09:16:47 (GMT)
committerIngo Molnar <mingo@elte.hu>2007-08-09 09:16:47 (GMT)
commit9ef0a9615b0d9cd29c6bc0e8898f1bc3145e44c6 (patch)
tree6f2f15a315f3b49310b886eb736ed540a7d7ea16
parenteac55ea37642163e6bdd899ac319c413c1f1b7cd (diff)
downloadlinux-fsl-qoriq-9ef0a9615b0d9cd29c6bc0e8898f1bc3145e44c6.tar.xz
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>
-rw-r--r--kernel/sched_fair.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c
index cfaf2b1..0cfa1d6 100644
--- a/kernel/sched_fair.c
+++ b/kernel/sched_fair.c
@@ -431,7 +431,7 @@ __update_stats_wait_end(struct cfs_rq *cfs_rq, struct sched_entity *se)
}
static void
-update_stats_wait_end(struct cfs_rq *cfs_rq, struct sched_entity *se, u64 now)
+update_stats_wait_end(struct cfs_rq *cfs_rq, struct sched_entity *se)
{
unsigned long delta_fair;
@@ -458,7 +458,7 @@ update_stats_dequeue(struct cfs_rq *cfs_rq, struct sched_entity *se, u64 now)
* waiting task:
*/
if (se != cfs_rq_curr(cfs_rq))
- update_stats_wait_end(cfs_rq, se, now);
+ update_stats_wait_end(cfs_rq, se);
}
/*
@@ -637,7 +637,7 @@ set_next_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, u64 now)
* done a put_prev_task_fair() shortly before this, which
* updated rq->fair_clock - used by update_stats_wait_end())
*/
- update_stats_wait_end(cfs_rq, se, now);
+ update_stats_wait_end(cfs_rq, se);
update_stats_curr_start(cfs_rq, se, now);
set_cfs_rq_curr(cfs_rq, se);
}