diff options
-rw-r--r-- | kernel/sched_fair.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c index e48f32e99a0d..66209d688456 100644 --- a/kernel/sched_fair.c +++ b/kernel/sched_fair.c | |||
@@ -376,8 +376,7 @@ calc_weighted(unsigned long delta, unsigned long weight, int shift) | |||
376 | /* | 376 | /* |
377 | * Task is being enqueued - update stats: | 377 | * Task is being enqueued - update stats: |
378 | */ | 378 | */ |
379 | static void | 379 | static void update_stats_enqueue(struct cfs_rq *cfs_rq, struct sched_entity *se) |
380 | update_stats_enqueue(struct cfs_rq *cfs_rq, struct sched_entity *se, u64 now) | ||
381 | { | 380 | { |
382 | s64 key; | 381 | s64 key; |
383 | 382 | ||
@@ -584,7 +583,7 @@ enqueue_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, | |||
584 | if (wakeup) | 583 | if (wakeup) |
585 | enqueue_sleeper(cfs_rq, se, now); | 584 | enqueue_sleeper(cfs_rq, se, now); |
586 | 585 | ||
587 | update_stats_enqueue(cfs_rq, se, now); | 586 | update_stats_enqueue(cfs_rq, se); |
588 | __enqueue_entity(cfs_rq, se); | 587 | __enqueue_entity(cfs_rq, se); |
589 | } | 588 | } |
590 | 589 | ||
@@ -1035,7 +1034,7 @@ static void task_new_fair(struct rq *rq, struct task_struct *p, u64 now) | |||
1035 | 1034 | ||
1036 | sched_info_queued(p); | 1035 | sched_info_queued(p); |
1037 | 1036 | ||
1038 | update_stats_enqueue(cfs_rq, se, now); | 1037 | update_stats_enqueue(cfs_rq, se); |
1039 | /* | 1038 | /* |
1040 | * Child runs first: we let it run before the parent | 1039 | * Child runs first: we let it run before the parent |
1041 | * until it reschedules once. We set up the key so that | 1040 | * until it reschedules once. We set up the key so that |