aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 cfaf2b18f28a..0cfa1d682418 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)
431} 431}
432 432
433static void 433static void
434update_stats_wait_end(struct cfs_rq *cfs_rq, struct sched_entity *se, u64 now) 434update_stats_wait_end(struct cfs_rq *cfs_rq, struct sched_entity *se)
435{ 435{
436 unsigned long delta_fair; 436 unsigned long delta_fair;
437 437
@@ -458,7 +458,7 @@ update_stats_dequeue(struct cfs_rq *cfs_rq, struct sched_entity *se, u64 now)
458 * waiting task: 458 * waiting task:
459 */ 459 */
460 if (se != cfs_rq_curr(cfs_rq)) 460 if (se != cfs_rq_curr(cfs_rq))
461 update_stats_wait_end(cfs_rq, se, now); 461 update_stats_wait_end(cfs_rq, se);
462} 462}
463 463
464/* 464/*
@@ -637,7 +637,7 @@ set_next_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, u64 now)
637 * done a put_prev_task_fair() shortly before this, which 637 * done a put_prev_task_fair() shortly before this, which
638 * updated rq->fair_clock - used by update_stats_wait_end()) 638 * updated rq->fair_clock - used by update_stats_wait_end())
639 */ 639 */
640 update_stats_wait_end(cfs_rq, se, now); 640 update_stats_wait_end(cfs_rq, se);
641 update_stats_curr_start(cfs_rq, se, now); 641 update_stats_curr_start(cfs_rq, se, now);
642 set_cfs_rq_curr(cfs_rq, se); 642 set_cfs_rq_curr(cfs_rq, se);
643} 643}