summaryrefslogtreecommitdiff
path: root/include/linux/sched/signal.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-02-04 01:47:37 +0300
committerIngo Molnar <mingo@kernel.org>2017-03-02 10:42:37 +0300
commitf361bf4a66c9bfabace46f6ff5d97005c9b524fe (patch)
treee910b098afd67afe49b708518b0061c7c9971f1f /include/linux/sched/signal.h
parente6d930b4e0115eb0732eec0efb11c3b09a8000fc (diff)
downloadlinux-f361bf4a66c9bfabace46f6ff5d97005c9b524fe.tar.xz
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/signal.h')
-rw-r--r--include/linux/sched/signal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sched/signal.h b/include/linux/sched/signal.h
index 0f4e9f4a43fd..7e10a7824523 100644
--- a/include/linux/sched/signal.h
+++ b/include/linux/sched/signal.h
@@ -1,6 +1,7 @@
#ifndef _LINUX_SCHED_SIGNAL_H
#define _LINUX_SCHED_SIGNAL_H
+#include <linux/signal.h>
#include <linux/cred.h>
#include <linux/sched.h>
#include <linux/sched/jobctl.h>