Commit eac55ea3 authored by Ingo Molnar's avatar Ingo Molnar

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: default avatarIngo Molnar <mingo@elte.hu>
parent d2417e5a
...@@ -416,7 +416,7 @@ static void update_stats_enqueue(struct cfs_rq *cfs_rq, struct sched_entity *se) ...@@ -416,7 +416,7 @@ static void update_stats_enqueue(struct cfs_rq *cfs_rq, struct sched_entity *se)
* Note: must be called with a freshly updated rq->fair_clock. * Note: must be called with a freshly updated rq->fair_clock.
*/ */
static inline void static inline 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 = se->delta_fair_run; unsigned long delta_fair = se->delta_fair_run;
...@@ -441,7 +441,7 @@ update_stats_wait_end(struct cfs_rq *cfs_rq, struct sched_entity *se, u64 now) ...@@ -441,7 +441,7 @@ update_stats_wait_end(struct cfs_rq *cfs_rq, struct sched_entity *se, u64 now)
se->delta_fair_run += delta_fair; se->delta_fair_run += delta_fair;
if (unlikely(abs(se->delta_fair_run) >= if (unlikely(abs(se->delta_fair_run) >=
sysctl_sched_stat_granularity)) { sysctl_sched_stat_granularity)) {
__update_stats_wait_end(cfs_rq, se, now); __update_stats_wait_end(cfs_rq, se);
se->delta_fair_run = 0; se->delta_fair_run = 0;
} }
......
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