arm64: ARM64_MODULES_PLTS must depend on MODULES

Otherwise, selecting it without MODULES leads to build failures.

Fixes: 58557e486f ("arm64: Allow user selection of ARM64_MODULE_PLTS")
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
This commit is contained in:
Catalin Marinas 2019-06-25 09:32:11 +01:00
parent 3f75070648
commit faaa73bcec
1 changed files with 1 additions and 0 deletions

View 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