Skip to content

Commit 9e49e24

Browse files
Peter ZijlstraIngo Molnar
authored andcommitted
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>
1 parent d17067e commit 9e49e24

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

include/linux/sched.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ struct task_group;
9393

9494
/* Convenience macros for the sake of wake_up(): */
9595
#define TASK_NORMAL (TASK_INTERRUPTIBLE | TASK_UNINTERRUPTIBLE)
96-
#define TASK_ALL (TASK_NORMAL | __TASK_STOPPED | __TASK_TRACED)
9796

9897
/* get_task_state(): */
9998
#define TASK_REPORT (TASK_RUNNING | TASK_INTERRUPTIBLE | \

0 commit comments

Comments
 (0)