]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Get rid of finish_arch_switch().
authorRalf Baechle <ralf@linux-mips.org>
Wed, 29 Jul 2015 10:14:42 +0000 (12:14 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 3 Sep 2015 10:08:01 +0000 (12:08 +0200)
commitd54bee8a1c7ae1d82a5ae94eab784bc21e90747b
treef7087e74fb1f827ed70271f0d8ce03466535bb6c
parent09edcbc70beef72127f0fe37949d98bfce94c46c
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>
arch/mips/include/asm/switch_to.h