]> Pileus Git - ~andy/linux/blobdiff - include/linux/sched.h
proc: cleanup/simplify get_task_state/task_state_array
[~andy/linux] / include / linux / sched.h
index cf9e414dbb9ea39d7b0f95e9632a6672eb7f23a7..33e4e9e1f6210566c1351389d0689321dd9ac823 100644 (file)
@@ -229,7 +229,7 @@ extern char ___assert_task_state[1 - 2*!!(
 /* get_task_state() */
 #define TASK_REPORT            (TASK_RUNNING | TASK_INTERRUPTIBLE | \
                                 TASK_UNINTERRUPTIBLE | __TASK_STOPPED | \
-                                __TASK_TRACED)
+                                __TASK_TRACED | EXIT_ZOMBIE | EXIT_DEAD)
 
 #define task_is_traced(task)   ((task->state & __TASK_TRACED) != 0)
 #define task_is_stopped(task)  ((task->state & __TASK_STOPPED) != 0)