kernel-hacking: move DEBUG_FS to 'Generic Kernel Debugging Instruments'
authorChangbin Du <changbin.du@gmail.com>
Sat, 7 Dec 2019 01:04:06 +0000 (17:04 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 7 Dec 2019 19:00:19 +0000 (11:00 -0800)
DEBUG_FS does not belong to 'Compile-time checks and compiler options'.

Link: http://lkml.kernel.org/r/20190909144453.3520-10-changbin.du@gmail.com
Cc: Randy Dunlap <rdunlap@infradead.org>
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 a442118cace30c71ee7f642a595c97a2526a18e3..c1485873521748f96b0ee3de5905ae79285ace51 100644 (file)
@@ -295,18 +295,6 @@ config READABLE_ASM
           to keep kernel developers who have to stare a lot at assembler listings
           sane.
 
-config DEBUG_FS
-       bool "Debug Filesystem"
-       help
-         debugfs is a virtual file system that kernel developers use to put
-         debugging files into.  Enable this option to be able to read and
-         write to these files.
-
-         For detailed documentation on the debugfs API, see
-         Documentation/filesystems/.
-
-         If unsure, say N.
-
 config HEADERS_INSTALL
        bool "Install uapi headers to usr/include"
        depends on !UML
@@ -443,6 +431,18 @@ config MAGIC_SYSRQ_SERIAL
          This option allows you to decide whether you want to enable the
          magic SysRq key.
 
+config DEBUG_FS
+       bool "Debug Filesystem"
+       help
+         debugfs is a virtual file system that kernel developers use to put
+         debugging files into.  Enable this option to be able to read and
+         write to these files.
+
+         For detailed documentation on the debugfs API, see
+         Documentation/filesystems/.
+
+         If unsure, say N.
+
 source "lib/Kconfig.kgdb"
 
 source "lib/Kconfig.ubsan"