kernel-hacking: create submenu for arch special debugging options
authorChangbin Du <changbin.du@gmail.com>
Sat, 7 Dec 2019 01:03:45 +0000 (17:03 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 7 Dec 2019 19:00:19 +0000 (11:00 -0800)
The arch special options are a little long, so create a submenu for
them.

Link: http://lkml.kernel.org/r/20190909144453.3520-3-changbin.du@gmail.com
Signed-off-by: Changbin Du <changbin.du@gmail.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/Kconfig.debug

index 0dbb5b4..2493a03 100644 (file)
@@ -2158,8 +2158,12 @@ config IO_STRICT_DEVMEM
 
          If in doubt, say Y.
 
+menu "$(SRCARCH) Debugging"
+
 source "arch/$(SRCARCH)/Kconfig.debug"
 
+endmenu
+
 config HYPERV_TESTING
        bool "Microsoft Hyper-V driver testing"
        default n