From: Heiko Carstens <heiko.carstens@de.ibm.com>
Date: Wed, 9 May 2012 14:27:34 +0000 (+0200)
Subject: s390/compat: select COMPAT_BINFMT_ELF only if BINFMT_ELF is set
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5cbeecd6629472c46384779ac139fb6643105dac;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

s390/compat: select COMPAT_BINFMT_ELF only if BINFMT_ELF is set

Fix this:
warning: (COMPAT) selects COMPAT_BINFMT_ELF which has unmet
         direct dependencies (COMPAT && BINFMT_ELF)

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
---

diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig
index 9015060919a0..39799fac4d7a 100644
--- a/arch/s390/Kconfig
+++ b/arch/s390/Kconfig
@@ -217,7 +217,7 @@ config COMPAT
 	def_bool y
 	prompt "Kernel support for 31 bit emulation"
 	depends on 64BIT
-	select COMPAT_BINFMT_ELF
+	select COMPAT_BINFMT_ELF if BINFMT_ELF
 	select ARCH_WANT_OLD_COMPAT_IPC
 	help
 	  Select this option if you want to enable your system kernel to