diff options
Diffstat (limited to 'kernel/sched_fair.c')
-rw-r--r-- | kernel/sched_fair.c | 4 |
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 | */ |
418 | static inline void | 418 | static 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 | ||