summary refs log tree commit diff
path: root/init
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-07-31 13:39:30 +0200
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-08-02 08:03:23 +0900
commit1572497cb0e6d2016078bc9d5a95786bb878389f (patch)
tree6b9ad32cab4e45531cbb1b6954a74d0e42ea5ffb /init
parent17c46a6aff5c423f406adfb06eb832f771c06bd1 (diff)
downloadlinux-1572497cb0e6d2016078bc9d5a95786bb878389f.tar.gz
kconfig: include common Kconfig files from top-level Kconfig
Instead of duplicating the source statements in every architecture just
do it once in the toplevel Kconfig file.

Note that with this the inclusion of arch/$(SRCARCH/Kconfig moves out of
the top-level Kconfig into arch/Kconfig so that don't violate ordering
constraits while keeping a sensible menu structure.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 1e69f93b809e..283f6bc796b1 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1721,10 +1721,10 @@ config PROFILING
 config TRACEPOINTS
 	bool
 
-source "arch/Kconfig"
-
 endmenu		# General setup
 
+source "arch/Kconfig"
+
 config RT_MUTEXES
 	bool