summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2017-09-22 19:23:31 +0300
committerIngo Molnar <mingo@kernel.org>2017-09-29 12:02:45 +0300
commit5f6ad26ea353fdf3dad2328052cbee49e0b9c5b4 (patch)
tree5c979d6aa41ba415d71022bfcb364720474684fb /include
parentefb40f588b4370ffaeffafbd50f6ff213d954254 (diff)
downloadlinux-5f6ad26ea353fdf3dad2328052cbee49e0b9c5b4.tar.xz
sched/tracing: Use common task-state helpers
Remove yet another task-state char instance. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/sched.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index a2fe636b6825..bc7807933415 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -83,8 +83,6 @@ struct task_group;
#define TASK_NEW 0x0800
#define TASK_STATE_MAX 0x1000
-#define TASK_STATE_TO_CHAR_STR "RSDTtXZxKWPNn"
-
/* Convenience macros for the sake of set_current_state: */
#define TASK_KILLABLE (TASK_WAKEKILL | TASK_UNINTERRUPTIBLE)
#define TASK_STOPPED (TASK_WAKEKILL | __TASK_STOPPED)