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 1c73073be4ca..9ec912e3398e 100644
--- a/kernel/sched_fair.c
+++ b/kernel/sched_fair.c
@@ -450,7 +450,7 @@ update_stats_wait_end(struct cfs_rq *cfs_rq, struct sched_entity *se)
450} 450}
451 451
452static inline void 452static inline void
453update_stats_dequeue(struct cfs_rq *cfs_rq, struct sched_entity *se, u64 now) 453update_stats_dequeue(struct cfs_rq *cfs_rq, struct sched_entity *se)
454{ 454{
455 update_curr(cfs_rq); 455 update_curr(cfs_rq);
456 /* 456 /*
@@ -591,7 +591,7 @@ static void
591dequeue_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, 591dequeue_entity(struct cfs_rq *cfs_rq, struct sched_entity *se,
592 int sleep, u64 now) 592 int sleep, u64 now)
593{ 593{
594 update_stats_dequeue(cfs_rq, se, now); 594 update_stats_dequeue(cfs_rq, se);
595 if (sleep) { 595 if (sleep) {
596 se->sleep_start_fair = cfs_rq->fair_clock; 596 se->sleep_start_fair = cfs_rq->fair_clock;
597#ifdef CONFIG_SCHEDSTATS 597#ifdef CONFIG_SCHEDSTATS