aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 010d5e16b4c5..a57c6aee6d4a 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -6915,7 +6915,7 @@ void show_state_filter(unsigned long state_filter)
6915 /* 6915 /*
6916 * Only show locks if all tasks are dumped: 6916 * Only show locks if all tasks are dumped:
6917 */ 6917 */
6918 if (state_filter == -1) 6918 if (!state_filter)
6919 debug_show_all_locks(); 6919 debug_show_all_locks();
6920} 6920}
6921 6921