diff options
author | Ingo Molnar <mingo@kernel.org> | 2017-02-04 01:47:37 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-03-02 10:42:37 +0300 |
commit | f361bf4a66c9bfabace46f6ff5d97005c9b524fe (patch) | |
tree | e910b098afd67afe49b708518b0061c7c9971f1f /include | |
parent | e6d930b4e0115eb0732eec0efb11c3b09a8000fc (diff) | |
download | linux-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')
-rw-r--r-- | include/linux/sched.h | 1 | ||||
-rw-r--r-- | include/linux/sched/signal.h | 1 |
2 files changed, 2 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> 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> |