sched/arch: Introduce the finish_arch_post_lock_switch() scheduler callback
[firefly-linux-kernel-4.4.55.git] / kernel / sched / core.c
index b342f57879e693f54c12a5b15d1e4e7c5bdde7e1..423f40f32a598e7bf8916d05f0f979c08f2df97a 100644 (file)
@@ -1932,6 +1932,7 @@ static void finish_task_switch(struct rq *rq, struct task_struct *prev)
        local_irq_enable();
 #endif /* __ARCH_WANT_INTERRUPTS_ON_CTXSW */
        finish_lock_switch(rq, prev);
+       finish_arch_post_lock_switch();
 
        fire_sched_in_preempt_notifiers(current);
        if (mm)