summaryrefslogtreecommitdiff
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-02-03 23:47:37 +0100
committerIngo Molnar <mingo@kernel.org>2017-03-02 08:42:37 +0100
commitf361bf4a66c9bfabace46f6ff5d97005c9b524fe (patch)
treee910b098afd67afe49b708518b0061c7c9971f1f /include/linux/sched.h
parente6d930b4e0115eb0732eec0efb11c3b09a8000fc (diff)
sched/headers: Prepare for the reduction of <linux/sched.h>'s signal API dependency
Instead of including the full <linux/signal.h>, we are going to include the types-only <linux/signal_types.h> header in <linux/sched.h>, to further decouple the scheduler header from the signal headers. This means that various files which relied on the full <linux/signal.h> need to be updated to gain an explicit dependency on it. Update the code that relies on sched.h's inclusion of the <linux/signal.h> header. Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mike Galbraith <efault@gmx.de> 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/linux/sched.h')
-rw-r--r--include/linux/sched.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 8ae7b3d85658..ea05116bc3c2 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -36,6 +36,7 @@ struct sched_param {
#include <linux/signal.h>
#include <linux/compiler.h>
#include <linux/completion.h>
+#include <linux/signal_types.h>
#include <linux/pid.h>
#include <linux/percpu.h>
#include <linux/topology.h>