|
@@ -4875,9 +4875,10 @@ void scheduler_tick(void)
|
|
update_rq_clock(rq);
|
|
update_rq_clock(rq);
|
|
update_cpu_load(rq);
|
|
update_cpu_load(rq);
|
|
curr->sched_class->task_tick(rq, curr, 0);
|
|
curr->sched_class->task_tick(rq, curr, 0);
|
|
- perf_counter_task_tick(curr, cpu);
|
|
|
|
spin_unlock(&rq->lock);
|
|
spin_unlock(&rq->lock);
|
|
|
|
|
|
|
|
+ perf_counter_task_tick(curr, cpu);
|
|
|
|
+
|
|
#ifdef CONFIG_SMP
|
|
#ifdef CONFIG_SMP
|
|
rq->idle_at_tick = idle_cpu(cpu);
|
|
rq->idle_at_tick = idle_cpu(cpu);
|
|
trigger_load_balance(rq, cpu);
|
|
trigger_load_balance(rq, cpu);
|