arm64: ARM64_MODULES_PLTS must depend on MODULES
authorCatalin Marinas <catalin.marinas@arm.com>
Tue, 25 Jun 2019 08:32:11 +0000 (09:32 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 25 Jun 2019 08:32:11 +0000 (09:32 +0100)
Otherwise, selecting it without MODULES leads to build failures.

Fixes: 58557e486f89 ("arm64: Allow user selection of ARM64_MODULE_PLTS")
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/Kconfig

index 61b4a2d35508b1135fdfc73f80ac5d8c45aa0368..089a834b0ed052ff2594596415fa242eaabb5988 100644 (file)
@@ -1420,6 +1420,7 @@ config ARM64_SVE
 
 config ARM64_MODULE_PLTS
        bool "Use PLTs to allow module memory to spill over into vmalloc area"
+       depends on MODULES
        select HAVE_MOD_ARCH_SPECIFIC
        help
          Allocate PLTs when loading modules so that jumps and calls whose