summaryrefslogtreecommitdiffstats
path: root/arch/mips/vdso/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--arch/mips/vdso/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/vdso/Kconfig b/arch/mips/vdso/Kconfig
new file mode 100644
index 0000000000..70140248da
--- /dev/null
+++ b/arch/mips/vdso/Kconfig
@@ -0,0 +1,6 @@
+# GCC (at least up to version 9.2) appears to emit function calls that make use
+# of the GOT when targeting microMIPS, which we can't use in the VDSO due to
+# the lack of relocations. As such, we disable the VDSO for microMIPS builds.
+
+config MIPS_DISABLE_VDSO
+ def_bool CPU_MICROMIPS