]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
sched/headers: Prepare for new header dependencies before moving code to <linux/sched...
authorIngo Molnar <mingo@kernel.org>
Wed, 8 Feb 2017 17:51:31 +0000 (18:51 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 2 Mar 2017 07:42:30 +0000 (08:42 +0100)
We are going to split <linux/sched/numa_balancing.h> out of <linux/sched.h>, which
will have to be picked up from other headers and a couple of .c files.

Create a trivial placeholder <linux/sched/numa_balancing.h> file that just
maps to <linux/sched.h> to make this patch obviously correct and
bisectable.

Include the new header in the files that are going to need it.

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>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
fs/exec.c
fs/proc/array.c
include/linux/sched/numa_balancing.h [new file with mode: 0644]
include/trace/events/sched.h
kernel/fork.c
kernel/sched/sched.h
mm/huge_memory.c
mm/memory.c
mm/mempolicy.c

index aa228b98ad5b19a293abbdf9562754284d9dd159..e857c7260b1f88b71b56a42a7f25821073b0aa41 100644 (file)
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -35,6 +35,7 @@
 #include <linux/sched/mm.h>
 #include <linux/sched/coredump.h>
 #include <linux/sched/signal.h>
+#include <linux/sched/numa_balancing.h>
 #include <linux/pagemap.h>
 #include <linux/perf_event.h>
 #include <linux/highmem.h>
index 61bea3a4ecc5e68239022f8c3f6f02586cb387f2..cfe7f934a300aa738634b2238ae632de95735418 100644 (file)
@@ -61,6 +61,7 @@
 #include <linux/string.h>
 #include <linux/mman.h>
 #include <linux/sched/mm.h>
+#include <linux/sched/numa_balancing.h>
 #include <linux/proc_fs.h>
 #include <linux/ioport.h>
 #include <linux/uaccess.h>
diff --git a/include/linux/sched/numa_balancing.h b/include/linux/sched/numa_balancing.h
new file mode 100644 (file)
index 0000000..9991822
--- /dev/null
@@ -0,0 +1,6 @@
+#ifndef _LINUX_SCHED_NUMA_BALANCING_H
+#define _LINUX_SCHED_NUMA_BALANCING_H
+
+#include <linux/sched.h>
+
+#endif /* _LINUX_SCHED_NUMA_BALANCING_H */
index 9b90c57517a918687189933ae6920b80d251e98e..9e3ef6c99e4b0db058a312f0405475b44cef8354 100644 (file)
@@ -4,7 +4,7 @@
 #if !defined(_TRACE_SCHED_H) || defined(TRACE_HEADER_MULTI_READ)
 #define _TRACE_SCHED_H
 
-#include <linux/sched.h>
+#include <linux/sched/numa_balancing.h>
 #include <linux/tracepoint.h>
 #include <linux/binfmts.h>
 
index a5ad1e4ab604dfac8c132c7cdb48fa6d8dcaaf07..08d6c091ac7cf1350ed7f3f0b3c1eb7c87f7af3b 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/sched/mm.h>
 #include <linux/sched/coredump.h>
 #include <linux/sched/user.h>
+#include <linux/sched/numa_balancing.h>
 #include <linux/init.h>
 #include <linux/unistd.h>
 #include <linux/module.h>
index 7dfeb14fa43c0db59c18618f944a16793d5b3dce..7e8ce0347fbf9be01bab06fec241e89b038ec0c4 100644 (file)
@@ -6,6 +6,7 @@
 #include <linux/sched/clock.h>
 #include <linux/sched/wake_q.h>
 #include <linux/sched/signal.h>
+#include <linux/sched/numa_balancing.h>
 #include <linux/sched/mm.h>
 #include <linux/sched/cpufreq.h>
 #include <linux/u64_stats_sync.h>
index dee92fa26bbb8e3280c0d31d497b7c16e3b33d48..d36b2af4d1bf4b6621974823f36c52dda405f181 100644 (file)
@@ -10,6 +10,7 @@
 #include <linux/mm.h>
 #include <linux/sched.h>
 #include <linux/sched/coredump.h>
+#include <linux/sched/numa_balancing.h>
 #include <linux/highmem.h>
 #include <linux/hugetlb.h>
 #include <linux/mmu_notifier.h>
index 6fc918b2c459eb9c630e95e45d1f3a3ae34ea315..d4994a28dc8559d4d2326bd7581b54dccc567f87 100644 (file)
@@ -42,6 +42,7 @@
 #include <linux/mm.h>
 #include <linux/sched/mm.h>
 #include <linux/sched/coredump.h>
+#include <linux/sched/numa_balancing.h>
 #include <linux/hugetlb.h>
 #include <linux/mman.h>
 #include <linux/swap.h>
index 90892416ed75f93ff065fedda1e5b33f08e4c1eb..18e0105810dfd8ef517646fbed1a9a67f139d23a 100644 (file)
@@ -74,6 +74,7 @@
 #include <linux/kernel.h>
 #include <linux/sched.h>
 #include <linux/sched/mm.h>
+#include <linux/sched/numa_balancing.h>
 #include <linux/nodemask.h>
 #include <linux/cpuset.h>
 #include <linux/slab.h>