diff options
author | Peter Zijlstra <peterz@infradead.org> | 2018-02-27 17:05:10 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-03-12 10:51:47 +0100 |
commit | 9e49e2447c6385e45c6fddd70d6c0e917e21b669 (patch) | |
tree | 1dc33c996abb726b8b027a80e65d60a6f0d1e3a1 /include/linux/sched.h | |
parent | d17067e4487adc53bedb43681b3cb5a1714ff6ca (diff) | |
download | talos-op-linux-9e49e2447c6385e45c6fddd70d6c0e917e21b669.tar.gz talos-op-linux-9e49e2447c6385e45c6fddd70d6c0e917e21b669.zip |
sched/core: Remove TASK_ALL
It's unused:
$ git grep "\<TASK_ALL\>" | wc -l
1
... and it is also dangerous, kill the bugger.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20180227160510.10829-1-bigeasy@linutronix.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index b161ef8a902e..21b1168da951 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -93,7 +93,6 @@ struct task_group; /* Convenience macros for the sake of wake_up(): */ #define TASK_NORMAL (TASK_INTERRUPTIBLE | TASK_UNINTERRUPTIBLE) -#define TASK_ALL (TASK_NORMAL | __TASK_STOPPED | __TASK_TRACED) /* get_task_state(): */ #define TASK_REPORT (TASK_RUNNING | TASK_INTERRUPTIBLE | \ |