36 lines
1.0 KiB
Diff
36 lines
1.0 KiB
Diff
|
From d1d08903c1b6f1b2a69a0ff8132c0d3c5cf322b4 Mon Sep 17 00:00:00 2001
|
||
|
From: Peter Zijlstra <peterz@infradead.org>
|
||
|
Date: Wed, 7 Jun 2017 10:12:45 +0200
|
||
|
Subject: [PATCH 134/365] sched: Remove TASK_ALL
|
||
|
|
||
|
It's unused:
|
||
|
|
||
|
$ git grep "\<TASK_ALL\>" | wc -l
|
||
|
1
|
||
|
|
||
|
And dangerous, kill the bugger.
|
||
|
|
||
|
Cc: stable-rt@vger.kernel.org
|
||
|
Acked-by: Thomas Gleixner <tglx@linutronix.de>
|
||
|
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
|
||
|
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
|
||
|
---
|
||
|
include/linux/sched.h | 1 -
|
||
|
1 file changed, 1 deletion(-)
|
||
|
|
||
|
diff --git a/include/linux/sched.h b/include/linux/sched.h
|
||
|
index 6bee197934fb..a359535e907d 100644
|
||
|
--- a/include/linux/sched.h
|
||
|
+++ b/include/linux/sched.h
|
||
|
@@ -239,7 +239,6 @@ extern char ___assert_task_state[1 - 2*!!(
|
||
|
|
||
|
/* 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 | \
|
||
|
--
|
||
|
2.28.0
|
||
|
|