From: Catalin Marinas Date: Tue, 25 Jun 2019 08:32:11 +0000 (+0100) Subject: arm64: ARM64_MODULES_PLTS must depend on MODULES X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=faaa73bcec4179ac6ff4493e2e5b8c17001c8779;p=openwrt%2Fstaging%2Fblogic.git arm64: ARM64_MODULES_PLTS must depend on MODULES Otherwise, selecting it without MODULES leads to build failures. Fixes: 58557e486f89 ("arm64: Allow user selection of ARM64_MODULE_PLTS") Signed-off-by: Catalin Marinas --- diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 61b4a2d35508..089a834b0ed0 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -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