aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 4c0d58bce6b2..ad079f07c9c8 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -4875,9 +4875,10 @@ void scheduler_tick(void)
4875 update_rq_clock(rq); 4875 update_rq_clock(rq);
4876 update_cpu_load(rq); 4876 update_cpu_load(rq);
4877 curr->sched_class->task_tick(rq, curr, 0); 4877 curr->sched_class->task_tick(rq, curr, 0);
4878 perf_counter_task_tick(curr, cpu);
4879 spin_unlock(&rq->lock); 4878 spin_unlock(&rq->lock);
4880 4879
4880 perf_counter_task_tick(curr, cpu);
4881
4881#ifdef CONFIG_SMP 4882#ifdef CONFIG_SMP
4882 rq->idle_at_tick = idle_cpu(cpu); 4883 rq->idle_at_tick = idle_cpu(cpu);
4883 trigger_load_balance(rq, cpu); 4884 trigger_load_balance(rq, cpu);