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


Groups > linux.kernel > #1576913

[PATCH 31/35] sched/headers: Remove <linux/magic.h> from <linux/sched/task_stack.h>

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

Show all headers | View raw


It's not used by any of the scheduler methods, but <linux/sched/task_stack.h>
needs it to pick up STACK_END_MAGIC.

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 2464c3ed55a1..7aabf53cd697 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -22,7 +22,6 @@
 #include <linux/task_io_accounting.h>
 #include <linux/latencytop.h>
 #include <linux/topology.h>
-#include <linux/magic.h>
 
 #include <asm/current.h>
 
-- 
2.7.4

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


Thread

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

csiph-web