diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 181bd56238b023af6ba1a124aa84689df37f1c64..fdfa173651ebe8d430d24a4e819d12a4390351cf 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -460,6 +460,15 @@ config DEBUG_KERNEL
 	  Say Y here if you are developing drivers or trying to debug and
 	  identify kernel problems.
 
+config DEBUG_MISC
+	bool "Miscellaneous debug code"
+	default DEBUG_KERNEL
+	depends on DEBUG_KERNEL
+	help
+	  Say Y here if you need to enable miscellaneous debug code that should
+	  be under a more specific debug option but isn't.
+
+
 menu "Memory Debugging"
 
 source "mm/Kconfig.debug"