]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitf51246efee2b6bc72e86bc1d16599fc7c455b986
treef7087e74fb1f827ed70271f0d8ce03466535bb6c
parentf1f5e414851fdb69a3200e5c15799ea4788d423e
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