Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1576925

[PATCH 26/35] sched/headers: Remove <linux/signal.h> from <linux/sched.h>

From Ingo Molnar <mingo@kernel.org>
Newsgroups linux.kernel
Subject [PATCH 26/35] sched/headers: Remove <linux/signal.h> from <linux/sched.h>
Date 2017-02-08 20:10 +0100
Message-ID <t8FMW-4eP-107@gated-at.bofh.it> (permalink)
References <t8FMS-4eP-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Cc: 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 | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/linux/sched.h b/include/linux/sched.h
index da3847ac3956..fb6571b3bf1e 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -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>
-- 
2.7.4

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 26/35] sched/headers: Remove <linux/signal.h> from <linux/sched.h> Ingo Molnar <mingo@kernel.org> - 2017-02-08 20:10 +0100

csiph-web