]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
parisc: Enable CONFIG_MLONGCALLS by default
authorHelge Deller <deller@gmx.de>
Sat, 28 Jul 2018 09:47:17 +0000 (11:47 +0200)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:41:56 +0000 (19:41 -0600)
BugLink: https://bugs.launchpad.net/bugs/1835845
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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
arch/parisc/Kconfig

index 9792d8cf4f565660ab5dbe83b4eb6ab3aa1af888..76c90a3ca231c685b7a9ed00cddbdfb32a0f0a0b 100644 (file)
@@ -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