aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_idletask.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched_idletask.c')
-rw-r--r--kernel/sched_idletask.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/sched_idletask.c b/kernel/sched_idletask.c
index bea2b8f12024..9fa0f402c87c 100644
--- a/kernel/sched_idletask.c
+++ b/kernel/sched_idletask.c
@@ -23,8 +23,7 @@ static void check_preempt_curr_idle(struct rq *rq, struct task_struct *p, int fl
23static struct task_struct *pick_next_task_idle(struct rq *rq) 23static struct task_struct *pick_next_task_idle(struct rq *rq)
24{ 24{
25 schedstat_inc(rq, sched_goidle); 25 schedstat_inc(rq, sched_goidle);
26 /* adjust the active tasks as we might go into a long sleep */ 26 calc_load_account_idle(rq);
27 calc_load_account_active(rq);
28 return rq->idle; 27 return rq->idle;
29} 28}
30 29