diff options
author | Helge Deller <deller@gmx.de> | 2018-07-28 12:47:17 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-15 19:10:56 +0300 |
commit | 8ab85f0bec9b334b78fe95224c66a88a0669f212 (patch) | |
tree | d9b854ed615b4a26e88bdba2fd0367d599a8b050 | |
parent | d0b1397a9aac7a77c95fed5ea02ef35c29279915 (diff) | |
download | linux-8ab85f0bec9b334b78fe95224c66a88a0669f212.tar.xz |
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 <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | arch/parisc/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig index fc5a574c3482..f02087656528 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 |