aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2020-02-23 18:57:45 +0100
committerKoen Vandeputte <koen.vandeputte@ncentric.com>2020-02-28 17:50:46 +0100
commit69d179ec81dacf92e1f693783c4ddcbf5a68b231 (patch)
tree63c0cd9725ff60513cdecd4bace9a83386315f95 /config
parent34fcdcd7c2fb81fddd14292193ef2a42ba958a3a (diff)
downloadupstream-69d179ec81dacf92e1f693783c4ddcbf5a68b231.tar.gz
upstream-69d179ec81dacf92e1f693783c4ddcbf5a68b231.tar.bz2
upstream-69d179ec81dacf92e1f693783c4ddcbf5a68b231.zip
kernel: Use new symbol to deactivate MIPS FPU support
With kernel 5.4 the upstream kernel supports deactivating the FPU support on MIPS. Use this new upstream feature instead of our older patch which was removed when porting the kernel patches to kernel 5.4. This way both options are set which should work for older kernel versions and also new ones. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'config')
-rw-r--r--config/Config-kernel.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index 52e74a175b..f7ba2b6723 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -44,11 +44,16 @@ config KERNEL_DEBUG_FS
write to these files. Many common debugging facilities, such as
ftrace, require the existence of debugfs.
+# remove KERNEL_MIPS_FPU_EMULATOR after kernel 4.14 and 4.14 are gone
config KERNEL_MIPS_FPU_EMULATOR
bool "Compile the kernel with MIPS FPU Emulator"
default y if TARGET_pistachio
depends on (mips || mipsel || mips64 || mips64el)
+config KERNEL_MIPS_FP_SUPPORT
+ bool
+ default y if KERNEL_MIPS_FPU_EMULATOR
+
config KERNEL_ARM_PMU
bool
default n