diff options
-rw-r--r-- | fs/proc/array.c | 4 | ||||
-rw-r--r-- | include/linux/sched.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/fs/proc/array.c b/fs/proc/array.c index 656e401794de..64db2bceac59 100644 --- a/fs/proc/array.c +++ b/fs/proc/array.c | |||
@@ -138,8 +138,8 @@ static const char * const task_state_array[] = { | |||
138 | "D (disk sleep)", /* 2 */ | 138 | "D (disk sleep)", /* 2 */ |
139 | "T (stopped)", /* 4 */ | 139 | "T (stopped)", /* 4 */ |
140 | "t (tracing stop)", /* 8 */ | 140 | "t (tracing stop)", /* 8 */ |
141 | "Z (zombie)", /* 16 */ | 141 | "X (dead)", /* 16 */ |
142 | "X (dead)", /* 32 */ | 142 | "Z (zombie)", /* 32 */ |
143 | }; | 143 | }; |
144 | 144 | ||
145 | static inline const char *get_task_state(struct task_struct *tsk) | 145 | static inline const char *get_task_state(struct task_struct *tsk) |
diff --git a/include/linux/sched.h b/include/linux/sched.h index 7781de5e5e7b..075b3056c0c0 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -210,8 +210,8 @@ print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq); | |||
210 | #define __TASK_STOPPED 4 | 210 | #define __TASK_STOPPED 4 |
211 | #define __TASK_TRACED 8 | 211 | #define __TASK_TRACED 8 |
212 | /* in tsk->exit_state */ | 212 | /* in tsk->exit_state */ |
213 | #define EXIT_ZOMBIE 16 | 213 | #define EXIT_DEAD 16 |
214 | #define EXIT_DEAD 32 | 214 | #define EXIT_ZOMBIE 32 |
215 | #define EXIT_TRACE (EXIT_ZOMBIE | EXIT_DEAD) | 215 | #define EXIT_TRACE (EXIT_ZOMBIE | EXIT_DEAD) |
216 | /* in tsk->state again */ | 216 | /* in tsk->state again */ |
217 | #define TASK_DEAD 64 | 217 | #define TASK_DEAD 64 |