diff options
author | Paul Burton <paul.burton@imgtec.com> | 2017-06-05 21:21:28 +0300 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-08-29 16:21:51 +0300 |
commit | a2aea699b1dde309f189ab41af41fae2d3345783 (patch) | |
tree | 230f3ad0da442dd8790c1ad2b61e459ba7bbc93f /arch/mips/Kconfig | |
parent | 3b2db173f01229410129f438d2f261c16a360eef (diff) | |
download | linux-a2aea699b1dde309f189ab41af41fae2d3345783.tar.xz |
MIPS: Move r4k FP code from r4k_switch.S to r4k_fpu.S
Move _save_fp(), _restore_fp(), _save_msa(), _restore_msa(),
_init_msa_upper() & _init_fpu() out of r4k_switch.S & into r4k_fpu.S.
This allows us to clean up the way in which Octeon includes the default
r4k implementations of these FP functions despite replacing resume(),
and makes CONFIG_R4K_FPU more straightforwardly represent all
configurations that have an R4K-style FPU, including Octeon.
Besides cleaning up this will be useful for later patches which disable
FP support.
[ralf@linux-mips.org: Fixed build issues reported by Arnd Bergmann
<arnd@arndb.de>]
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/16237/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r-- | arch/mips/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index a2f6b199776a..14ab86d7ea59 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -2241,7 +2241,7 @@ config CPU_GENERIC_DUMP_TLB config CPU_R4K_FPU bool - default y if !(CPU_R3000 || CPU_TX39XX || CPU_CAVIUM_OCTEON) + default y if !(CPU_R3000 || CPU_TX39XX) config CPU_R4K_CACHE_TLB bool |