aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched_fair.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c
index 9ec912e3398e..41a37daba2d2 100644
--- a/kernel/sched_fair.c
+++ b/kernel/sched_fair.c
@@ -477,7 +477,7 @@ update_stats_curr_start(struct cfs_rq *cfs_rq, struct sched_entity *se)
477 * We are descheduling a task - update its stats: 477 * We are descheduling a task - update its stats:
478 */ 478 */
479static inline void 479static inline void
480update_stats_curr_end(struct cfs_rq *cfs_rq, struct sched_entity *se, u64 now) 480update_stats_curr_end(struct cfs_rq *cfs_rq, struct sched_entity *se)
481{ 481{
482 se->exec_start = 0; 482 se->exec_start = 0;
483} 483}
@@ -661,7 +661,7 @@ put_prev_entity(struct cfs_rq *cfs_rq, struct sched_entity *prev, u64 now)
661 if (prev->on_rq) 661 if (prev->on_rq)
662 update_curr(cfs_rq); 662 update_curr(cfs_rq);
663 663
664 update_stats_curr_end(cfs_rq, prev, now); 664 update_stats_curr_end(cfs_rq, prev);
665 665
666 if (prev->on_rq) 666 if (prev->on_rq)
667 update_stats_wait_start(cfs_rq, prev); 667 update_stats_wait_start(cfs_rq, prev);