diff options
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index b9a683730148..960d7c5fca39 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -4746,7 +4746,7 @@ void show_state_filter(unsigned long state_filter) | |||
4746 | * console might take alot of time: | 4746 | * console might take alot of time: |
4747 | */ | 4747 | */ |
4748 | touch_nmi_watchdog(); | 4748 | touch_nmi_watchdog(); |
4749 | if (p->state & state_filter) | 4749 | if (!state_filter || (p->state & state_filter)) |
4750 | show_task(p); | 4750 | show_task(p); |
4751 | } while_each_thread(g, p); | 4751 | } while_each_thread(g, p); |
4752 | 4752 | ||