summaryrefslogtreecommitdiff
path: root/arch/mips/kernel/Makefile
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>2020-10-08 23:33:25 +0200
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2020-10-12 12:04:50 +0200
commita616c0617aa36ea0bd51af90adfb87e8d3e9cb72 (patch)
tree254e16b710656d819a914c4fcb865951a7d0eb91 /arch/mips/kernel/Makefile
parente7ae8d174eec0b3b9de92b76abc15f3f53b98f1c (diff)
downloadlwn-a616c0617aa36ea0bd51af90adfb87e8d3e9cb72.tar.gz
lwn-a616c0617aa36ea0bd51af90adfb87e8d3e9cb72.zip
MIPS: cpu-probe: move fpu probing/handling into its own file
cpu-probe.c has grown when supporting more and more CPUs and there are use cases where probing for all the CPUs isn't useful like running on a R3k system. But still the fpu handling is nearly the same. For sharing put the fpu code into it's own file. Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/kernel/Makefile')
-rw-r--r--arch/mips/kernel/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/kernel/Makefile b/arch/mips/kernel/Makefile
index 13a26d254829..026801c21724 100644
--- a/arch/mips/kernel/Makefile
+++ b/arch/mips/kernel/Makefile
@@ -42,6 +42,7 @@ sw-$(CONFIG_CPU_TX39XX) := r2300_switch.o
sw-$(CONFIG_CPU_CAVIUM_OCTEON) := octeon_switch.o
obj-y += $(sw-y)
+obj-$(CONFIG_MIPS_FP_SUPPORT) += fpu-probe.o
obj-$(CONFIG_CPU_R2300_FPU) += r2300_fpu.o
obj-$(CONFIG_CPU_R4K_FPU) += r4k_fpu.o