Browse Source

sched/headers: Remove <linux/magic.h> from <linux/sched/task_stack.h>

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

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>
Ingo Molnar 8 years ago
parent
commit
50ff9d1300
2 changed files with 1 additions and 1 deletions
  1. 0 1
      include/linux/sched.h
  2. 1 0
      kernel/cgroup/cgroup-v1.c

+ 0 - 1
include/linux/sched.h

@@ -22,7 +22,6 @@
 #include <linux/task_io_accounting.h>
 #include <linux/task_io_accounting.h>
 #include <linux/latencytop.h>
 #include <linux/latencytop.h>
 #include <linux/topology.h>
 #include <linux/topology.h>
-#include <linux/magic.h>
 
 
 #include <asm/current.h>
 #include <asm/current.h>
 
 

+ 1 - 0
kernel/cgroup/cgroup-v1.c

@@ -7,6 +7,7 @@
 #include <linux/mm.h>
 #include <linux/mm.h>
 #include <linux/sched/signal.h>
 #include <linux/sched/signal.h>
 #include <linux/sched/task.h>
 #include <linux/sched/task.h>
+#include <linux/magic.h>
 #include <linux/slab.h>
 #include <linux/slab.h>
 #include <linux/vmalloc.h>
 #include <linux/vmalloc.h>
 #include <linux/delayacct.h>
 #include <linux/delayacct.h>