COMPAT_BINFMT_ELF definition tweak
authorAlexey Dobriyan <adobriyan@gmail.com>
Thu, 16 Oct 2008 05:04:17 +0000 (22:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Oct 2008 18:21:47 +0000 (11:21 -0700)
Don't repeat BINFMT_ELF definition, simply multiply COMPAT and BINFMT_ELF.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/Kconfig.binfmt

index 17c9c5ec14c526fe0eddbf77e9771550bae6fbb8..801db1341811d6eace2732c7238bfd9190ffff1f 100644 (file)
@@ -25,7 +25,7 @@ config BINFMT_ELF
 
 config COMPAT_BINFMT_ELF
        bool
-       depends on COMPAT && MMU
+       depends on COMPAT && BINFMT_ELF
 
 config BINFMT_ELF_FDPIC
        bool "Kernel support for FDPIC ELF binaries"