Commit 5f394c9e authored by Helge Deller's avatar Helge Deller Committed by Greg Kroah-Hartman

parisc: Enable CONFIG_MLONGCALLS by default

commit 66509a27 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: default avatarHelge Deller <deller@gmx.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1d4167a8
...@@ -184,7 +184,7 @@ config PREFETCH ...@@ -184,7 +184,7 @@ config PREFETCH
config MLONGCALLS config MLONGCALLS
bool "Enable the -mlong-calls compiler option for big kernels" bool "Enable the -mlong-calls compiler option for big kernels"
def_bool y if (!MODULES) default y
depends on PA8X00 depends on PA8X00
help help
If you configure the kernel to include many drivers built-in instead If you configure the kernel to include many drivers built-in instead
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment