• R
    sched, MIPS: Get rid of finish_arch_switch() · 6916ce3f
    Ralf Baechle 提交于
    MIPS was using finish_arch_switch() as a hook to restore and initialize
    CPU context for all threads, even newly created kernel and user threads.
    This is however entirely solvable within switch_to() so get rid of
    finish_arch_switch() which is in the way of scheduler cleanups.
    Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Mike Galbraith <efault@gmx.de>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: linux-kernel@vger.kernel.org
    Signed-off-by: NIngo Molnar <mingo@kernel.org>
    6916ce3f
switch_to.h 3.8 KB