sched/headers: Remove <linux/signal.h> from <linux/sched.h>
authorIngo Molnar <mingo@kernel.org>
Fri, 3 Feb 2017 22:47:37 +0000 (23:47 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Mar 2017 00:45:37 +0000 (01:45 +0100)
Instead of including the full <linux/signal.h>, only include the types-only
<linux/signal_types.h> header in <linux/sched.h>, to further decouple the
scheduler header from the signal headers.

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>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/sched.h

index b361f881fe447fd21367f6273e0346c65cd31ba3..905d4f148d650883a021c1ea2fd15dfbd6d2141e 100644 (file)
@@ -11,7 +11,6 @@
 
 #include <linux/sem.h>
 #include <linux/shm.h>
-#include <linux/signal.h>
 #include <linux/signal_types.h>
 #include <linux/pid.h>
 #include <linux/seccomp.h>