diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-12-17 07:16:27 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-12-17 07:22:43 -0500 |
commit | 733421516b42c44b9e21f1793c430cc801ef8324 (patch) | |
tree | cc78e2b77d482ee020eed74bfa457b034f85c4ea /include/linux/sched.h | |
parent | 234da7bcdc7aaa935846534c3b726dbc79a9cdd5 (diff) |
sched: Move TASK_STATE_TO_CHAR_STR near the TASK_state bits
So that we don't keep forgetting about it.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20091217121829.815779372@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 973b2b89f86d..c28ed1b1d7c2 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -193,6 +193,8 @@ print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq) | |||
193 | #define TASK_WAKEKILL 128 | 193 | #define TASK_WAKEKILL 128 |
194 | #define TASK_WAKING 256 | 194 | #define TASK_WAKING 256 |
195 | 195 | ||
196 | #define TASK_STATE_TO_CHAR_STR "RSDTtZX" | ||
197 | |||
196 | /* Convenience macros for the sake of set_task_state */ | 198 | /* Convenience macros for the sake of set_task_state */ |
197 | #define TASK_KILLABLE (TASK_WAKEKILL | TASK_UNINTERRUPTIBLE) | 199 | #define TASK_KILLABLE (TASK_WAKEKILL | TASK_UNINTERRUPTIBLE) |
198 | #define TASK_STOPPED (TASK_WAKEKILL | __TASK_STOPPED) | 200 | #define TASK_STOPPED (TASK_WAKEKILL | __TASK_STOPPED) |
@@ -2595,8 +2597,6 @@ static inline void mm_init_owner(struct mm_struct *mm, struct task_struct *p) | |||
2595 | } | 2597 | } |
2596 | #endif /* CONFIG_MM_OWNER */ | 2598 | #endif /* CONFIG_MM_OWNER */ |
2597 | 2599 | ||
2598 | #define TASK_STATE_TO_CHAR_STR "RSDTtZX" | ||
2599 | |||
2600 | #endif /* __KERNEL__ */ | 2600 | #endif /* __KERNEL__ */ |
2601 | 2601 | ||
2602 | #endif | 2602 | #endif |