summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2018-02-27 17:05:10 +0100
committerIngo Molnar <mingo@kernel.org>2018-03-12 10:51:47 +0100
commit9e49e2447c6385e45c6fddd70d6c0e917e21b669 (patch)
tree1dc33c996abb726b8b027a80e65d60a6f0d1e3a1
parentd17067e4487adc53bedb43681b3cb5a1714ff6ca (diff)
downloadblackbird-obmc-linux-9e49e2447c6385e45c6fddd70d6c0e917e21b669.tar.gz
blackbird-obmc-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>
-rw-r--r--include/linux/sched.h1
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 | \
OpenPOWER on IntegriCloud