From: Helge Deller Date: Sat, 28 Jul 2018 09:47:17 +0000 (+0200) Subject: parisc: Enable CONFIG_MLONGCALLS by default X-Git-Tag: v4.17.15~101 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ab85f0bec9b334b78fe95224c66a88a0669f212;p=thirdparty%2Fkernel%2Fstable.git parisc: Enable CONFIG_MLONGCALLS by default commit 66509a276c8c1d19ee3f661a41b418d101c57d29 upstream. Enable the -mlong-calls compiler option by default, because otherwise in most cases linking the vmlinux binary fails due to truncations of R_PARISC_PCREL22F relocations. This fixes building the 64-bit defconfig. Cc: stable@vger.kernel.org # 4.0+ Signed-off-by: Helge Deller Signed-off-by: Greg Kroah-Hartman --- diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig index fc5a574c34823..f020876565284 100644 --- a/arch/parisc/Kconfig +++ b/arch/parisc/Kconfig @@ -199,7 +199,7 @@ config PREFETCH config MLONGCALLS bool "Enable the -mlong-calls compiler option for big kernels" - def_bool y if (!MODULES) + default y depends on PA8X00 help If you configure the kernel to include many drivers built-in instead