libata: convert the remaining SATA drivers to new init model
[powerpc.git] / kernel / sched.c
index b9a6837..960d7c5 100644 (file)
@@ -4746,7 +4746,7 @@ void show_state_filter(unsigned long state_filter)
                 * console might take alot of time:
                 */
                touch_nmi_watchdog();
-               if (p->state & state_filter)
+               if (!state_filter || (p->state & state_filter))
                        show_task(p);
        } while_each_thread(g, p);