[PATCH] Kconfig.debug: fix the depends about config SCHED_DEBUG

ye.xingchen@zte.com.cn posted 1 patch 2 years, 7 months ago
lib/Kconfig.debug | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] Kconfig.debug: fix the depends about config SCHED_DEBUG
Posted by ye.xingchen@zte.com.cn 2 years, 7 months ago
From: ye xingchen <ye.xingchen@zte.com.cn>

Now, the right File Path about SCHED_DEBUG is /sys/kernel/debug/sched.
So, SCHED_DEBUG should depend on DEBUG_FS, not PROC_FS.

Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
---
 lib/Kconfig.debug | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 520884f8f8e1..223b4459e710 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -1143,7 +1143,7 @@ menu "Scheduler Debugging"

 config SCHED_DEBUG
 	bool "Collect scheduler debugging info"
-	depends on DEBUG_KERNEL && PROC_FS
+	depends on DEBUG_KERNEL && DEBUG_FS
 	default y
 	help
 	  If you say Y here, the /proc/sched_debug file will be provided
-- 
2.25.1