summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-07-31 13:39:34 +0200
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-08-02 08:06:55 +0900
commit006477f40d2e79cd1ba655af94fbd9b2a585bfef (patch)
treed1e00b4e4ca1e2daca052483442dd2c0b9ed4f4d
parent22471e1313f2b5ec698069206f3a310d6d35b1d4 (diff)
downloadlinux-006477f40d2e79cd1ba655af94fbd9b2a585bfef.tar.bz2
kconfig: move the "Executable file formats" menu to fs/Kconfig.binfmt
No need to have this in the top-level Kconfig. Signed-off-by: Christoph Hellwig <hch@lst.de> Tested-by: Randy Dunlap <rdunlap@infradead.org> Acked-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
-rw-r--r--Kconfig2
-rw-r--r--fs/Kconfig.binfmt5
2 files changed, 5 insertions, 2 deletions
diff --git a/Kconfig b/Kconfig
index a5997d6c2029..48a80beab685 100644
--- a/Kconfig
+++ b/Kconfig
@@ -13,9 +13,7 @@ source "init/Kconfig"
source "kernel/Kconfig.freezer"
-menu "Executable file formats"
source "fs/Kconfig.binfmt"
-endmenu
source "mm/Kconfig"
diff --git a/fs/Kconfig.binfmt b/fs/Kconfig.binfmt
index 56df483de619..b795f8da81f3 100644
--- a/fs/Kconfig.binfmt
+++ b/fs/Kconfig.binfmt
@@ -1,3 +1,6 @@
+
+menu "Executable file formats"
+
config BINFMT_ELF
bool "Kernel support for ELF binaries"
depends on MMU
@@ -187,3 +190,5 @@ config COREDUMP
This option enables support for performing core dumps. You almost
certainly want to say Y here. Not necessary on systems that never
need debugging or only ever run flawless code.
+
+endmenu