Skip to content

Commit

Permalink
parisc: Enable CONFIG_MLONGCALLS by default
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Helge Deller committed Aug 8, 2018
1 parent 1236568 commit 66509a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/parisc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,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
Expand Down

0 comments on commit 66509a2

Please sign in to comment.