Commit d2417e5a authored by Ingo Molnar's avatar Ingo Molnar

sched: remove the 'u64 now' parameter from update_stats_enqueue()

remove the 'u64 now' parameter from update_stats_enqueue().

( identity transformation that causes no change in functionality. )
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 5870db5b
...@@ -376,8 +376,7 @@ calc_weighted(unsigned long delta, unsigned long weight, int shift) ...@@ -376,8 +376,7 @@ calc_weighted(unsigned long delta, unsigned long weight, int shift)
/* /*
* Task is being enqueued - update stats: * Task is being enqueued - update stats:
*/ */
static void static void update_stats_enqueue(struct cfs_rq *cfs_rq, struct sched_entity *se)
update_stats_enqueue(struct cfs_rq *cfs_rq, struct sched_entity *se, u64 now)
{ {
s64 key; s64 key;
...@@ -584,7 +583,7 @@ enqueue_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, ...@@ -584,7 +583,7 @@ enqueue_entity(struct cfs_rq *cfs_rq, struct sched_entity *se,
if (wakeup) if (wakeup)
enqueue_sleeper(cfs_rq, se, now); enqueue_sleeper(cfs_rq, se, now);
update_stats_enqueue(cfs_rq, se, now); update_stats_enqueue(cfs_rq, se);
__enqueue_entity(cfs_rq, se); __enqueue_entity(cfs_rq, se);
} }
...@@ -1035,7 +1034,7 @@ static void task_new_fair(struct rq *rq, struct task_struct *p, u64 now) ...@@ -1035,7 +1034,7 @@ static void task_new_fair(struct rq *rq, struct task_struct *p, u64 now)
sched_info_queued(p); sched_info_queued(p);
update_stats_enqueue(cfs_rq, se, now); update_stats_enqueue(cfs_rq, se);
/* /*
* Child runs first: we let it run before the parent * Child runs first: we let it run before the parent
* until it reschedules once. We set up the key so that * until it reschedules once. We set up the key so that
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment