From: Kefeng Wang Date: Thu, 26 Jan 2017 03:19:55 +0000 (+0800) Subject: arm64: Kconfig: select COMPAT_BINFMT_ELF only when BINFMT_ELF is set X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2e449048a25eb75d48dff12882b93f26d130a1c6;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git arm64: Kconfig: select COMPAT_BINFMT_ELF only when BINFMT_ELF is set Fix warning: "(COMPAT) selects COMPAT_BINFMT_ELF which has unmet direct dependencies (COMPAT && BINFMT_ELF)" Signed-off-by: Kefeng Wang Signed-off-by: Will Deacon --- diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 359bca239ba7..bac0d1bb58b5 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -1011,7 +1011,7 @@ source "fs/Kconfig.binfmt" config COMPAT bool "Kernel support for 32-bit EL0" depends on ARM64_4K_PAGES || EXPERT - select COMPAT_BINFMT_ELF + select COMPAT_BINFMT_ELF if BINFMT_ELF select HAVE_UID16 select OLD_SIGSUSPEND3 select COMPAT_OLD_SIGACTION