Just like the other generic debug options, move the irq one to
'Kernel hacking' menu.

Signed-off-by: Changbin Du <changbin...@gmail.com>
---
 kernel/irq/Kconfig | 12 ------------
 lib/Kconfig.debug  | 11 +++++++++++
 2 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/kernel/irq/Kconfig b/kernel/irq/Kconfig
index f92d9a687372..4684c44e0390 100644
--- a/kernel/irq/Kconfig
+++ b/kernel/irq/Kconfig
@@ -123,18 +123,6 @@ config SPARSE_IRQ
            out the interrupt descriptors in a more NUMA-friendly way. )
 
          If you don't know what to do here, say N.
-
-config GENERIC_IRQ_DEBUGFS
-       bool "Expose irq internals in debugfs"
-       depends on DEBUG_FS
-       default n
-       ---help---
-
-         Exposes internal state information through debugfs. Mostly for
-         developers and debugging of hard to diagnose interrupt problems.
-
-         If you don't know what to do here, say N.
-
 endmenu
 
 config GENERIC_IRQ_MULTI_HANDLER
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 5960e2980a8a..c2fb63b4263b 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -2142,6 +2142,17 @@ config IO_STRICT_DEVMEM
 
          If in doubt, say Y.
 
+config GENERIC_IRQ_DEBUGFS
+       bool "Expose irq internals to userspace via debugfs"
+       depends on DEBUG_FS
+       default n
+       ---help---
+
+         Exposes internal state information through debugfs. Mostly for
+         developers and debugging of hard to diagnose interrupt problems.
+
+         If you don't know what to do here, say N.
+
 source "arch/$(SRCARCH)/Kconfig.debug"
 
 endmenu # Kernel hacking
-- 
2.20.1

Reply via email to