[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190901035539.2957-1-changbin.du@gmail.com>
Date: Sun, 1 Sep 2019 11:55:39 +0800
From: Changbin Du <changbin.du@...il.com>
To: Andrew Morton <akpm@...ux-foundation.org>,
Thomas Gleixner <tglx@...utronix.de>
Cc: yamada.masahiro@...ionext.com, linux-kernel@...r.kernel.org,
Changbin Du <changbin.du@...il.com>
Subject: [PATCH] genirq: move debugfs option to kernel hacking
Just like the other generic debug options, move the irq one to
'Kernel hacking' menu.
Signed-off-by: Changbin Du <changbin.du@...il.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
Powered by blists - more mailing lists