aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorShmulik Ladkani <shmulik.ladkani@gmail.com>2009-11-25 08:23:41 -0500
committerIngo Molnar <mingo@elte.hu>2009-11-25 08:26:52 -0500
commit93335a21557e80f6a99bc2812c634e488139043c (patch)
treeda648a3345678f58181ba229bb415fc1565ab779 /kernel
parenta3a1de0c34de6f5f8332cd6151c46af7813c0fcb (diff)
sched.c: Call debug_show_all_locks() when dumping all tasks
In commit v2.6.21-691-g39bc89f ("make SysRq-T show all tasks again") the interface of show_state_filter() was changed: zero valued 'state_filter' specifies "dump all tasks" (instead of -1). However, the condition for calling debug_show_all_locks() ("show locks if all tasks are dumped") was not updated accordingly. Signed-off-by: Shmulik Ladkani <shmulik.ladkani@gmail.com> Cc: peterz@infradead.org LKML-Reference: <4b0d2fe4.0ab6660a.6437.3cfc@mx.google.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
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