]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
sched/headers: Remove <linux/magic.h> from <linux/sched/task_stack.h>
authorIngo Molnar <mingo@kernel.org>
Sun, 5 Feb 2017 15:03:58 +0000 (16:03 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Mar 2017 00:45:39 +0000 (01:45 +0100)
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>
include/linux/sched.h
kernel/cgroup/cgroup-v1.c

index bd0111a06aa2598d84ed941ac5ca24a7c57fa900..559be4f1aee554845d375e51fa71b221f7b14fa9 100644 (file)
@@ -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>
 
index abc585858685c470d3dede498f1534dda4421b62..56eba9caa632adcc118114d8aa55cbab00895495 100644 (file)
@@ -7,6 +7,7 @@
 #include <linux/mm.h>
 #include <linux/sched/signal.h>
 #include <linux/sched/task.h>
+#include <linux/magic.h>
 #include <linux/slab.h>
 #include <linux/vmalloc.h>
 #include <linux/delayacct.h>