Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 06ec64b8 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Masahiro Yamada
Browse files

Kconfig: consolidate the "Kernel hacking" menu



Move the source of lib/Kconfig.debug and arch/$(ARCH)/Kconfig.debug to
the top-level Kconfig.  For two architectures that means moving their
arch-specific symbols in that menu into a new arch Kconfig.debug file,
and for a few more creating a dummy file so that we can include it
unconditionally.

Also move the actual 'Kernel hacking' menu to lib/Kconfig.debug, where
it belongs.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 1572497c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -30,3 +30,5 @@ source "security/Kconfig"
source "crypto/Kconfig"

source "lib/Kconfig"

source "lib/Kconfig.debug"
+0 −2
Original line number Diff line number Diff line
@@ -710,8 +710,6 @@ config SRM_ENV

endmenu

source "arch/alpha/Kconfig.debug"

# DUMMY_CONSOLE may be defined in drivers/video/console/Kconfig
# but we also need it if VGA_HOSE is set
config DUMMY_CONSOLE
+0 −5
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
menu "Kernel hacking"

source "lib/Kconfig.debug"

config EARLY_PRINTK
	bool
@@ -39,5 +36,3 @@ config MATHEMU
	  This option is required for IEEE compliant floating point arithmetic
	  on the Alpha. The only time you would ever not say Y is to say M in
	  order to debug the code. Say Y unless you know what you are doing.

endmenu
+0 −1
Original line number Diff line number Diff line
@@ -574,5 +574,4 @@ source "drivers/pci/Kconfig"

endmenu

source "arch/arc/Kconfig.debug"
source "kernel/power/Kconfig"
+0 −5
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
menu "Kernel hacking"

source "lib/Kconfig.debug"

config 16KSTACKS
	bool "Use 16Kb for kernel stacks instead of 8Kb"
@@ -11,5 +8,3 @@ config 16KSTACKS
	  This increases the resident kernel footprint and will cause less
	  threads to run on the system and also increase the pressure
	  on the VM subsystem for higher order allocations.

endmenu
Loading