aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/Kconfig
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2017-01-26 11:19:55 +0800
committerWill Deacon <will.deacon@arm.com>2017-01-26 12:19:49 +0000
commit2e449048a25eb75d48dff12882b93f26d130a1c6 (patch)
tree02dc69fababa35e1a6ef46b33f3390a3a15289c7 /arch/arm64/Kconfig
parentarm64: kernel: do not mark reserved memory regions as IORESOURCE_BUSY (diff)
downloadlinux-dev-2e449048a25eb75d48dff12882b93f26d130a1c6.tar.xz
linux-dev-2e449048a25eb75d48dff12882b93f26d130a1c6.zip
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 <wangkefeng.wang@huawei.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/Kconfig')
-rw-r--r--arch/arm64/Kconfig2
1 files changed, 1 insertions, 1 deletions
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