• Ralf Baechle's avatar
    sched, MIPS: Get rid of finish_arch_switch() · 6916ce3f
    Ralf Baechle authored
    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: default avatarRalf 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: default avatarIngo Molnar <mingo@kernel.org>
    6916ce3f
switch_to.h 3.84 KB