sched, MIPS: Get rid of finish_arch_switch()
authorRalf Baechle <ralf@linux-mips.org>
Wed, 29 Jul 2015 10:14:42 +0000 (12:14 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 4 Aug 2015 07:38:00 +0000 (09:38 +0200)
commit6916ce3ffff80f0102d39922ddb3b8c4540f2ea2
tree24f22b2c509d7eb321241ceed17cc7b19e635135
parent7baa7aecdd2f009ddd00a4ad0690c6918bab5b01
sched, MIPS: Get rid of finish_arch_switch()

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: Ralf 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: Ingo Molnar <mingo@kernel.org>
arch/mips/include/asm/switch_to.h