]> 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:36 +0000 (18:51 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 2 Mar 2017 07:42:35 +0000 (08:42 +0100)
We are going to split <linux/sched/hotplug.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/hotplug.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>
22 files changed:
arch/arm/kernel/smp.c
arch/arm64/include/asm/mmu_context.h
arch/arm64/kernel/smp.c
arch/ia64/kernel/process.c
arch/metag/kernel/smp.c
arch/mips/cavium-octeon/smp.c
arch/mips/kernel/smp-bmips.c
arch/mips/kernel/smp-cps.c
arch/mips/loongson64/loongson-3/smp.c
arch/powerpc/platforms/85xx/smp.c
arch/powerpc/platforms/powermac/smp.c
arch/powerpc/platforms/powernv/smp.c
arch/powerpc/platforms/pseries/hotplug-cpu.c
arch/s390/kernel/smp.c
arch/sh/kernel/smp.c
arch/sparc/kernel/smp_64.c
arch/x86/kernel/smpboot.c
arch/xtensa/kernel/smp.c
include/linux/sched/hotplug.h [new file with mode: 0644]
kernel/cpu.c
kernel/sched/core.c
kernel/sched/sched.h

index 5a07c5a4b8943c68487cc8669eee0c20408670c2..2083a5370308dd9a6464303db613cc39b2c55a03 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/init.h>
 #include <linux/spinlock.h>
 #include <linux/sched.h>
+#include <linux/sched/hotplug.h>
 #include <linux/interrupt.h>
 #include <linux/cache.h>
 #include <linux/profile.h>
index 1ef40d82cfd3ca7e9ced8e10ed0cf5cc5cafc288..3c9f7d18a7e693ed69e932c9bd8aa37bc292dd58 100644 (file)
@@ -25,6 +25,7 @@
 
 #include <linux/compiler.h>
 #include <linux/sched.h>
+#include <linux/sched/hotplug.h>
 
 #include <asm/cacheflush.h>
 #include <asm/cpufeature.h>
index 827d52d78b67d1206a25789b87ee433fd24c50b1..f66e58523b967716861cdd8ec83b9fe0e5115e95 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/init.h>
 #include <linux/spinlock.h>
 #include <linux/sched.h>
+#include <linux/sched/hotplug.h>
 #include <linux/interrupt.h>
 #include <linux/cache.h>
 #include <linux/profile.h>
index 804b251ee5d1463a9ecee19770a0a7048b83877f..2204ae450d6586c76e45ac5057c30e1038d5c59b 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/personality.h>
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/hotplug.h>
 #include <linux/stddef.h>
 #include <linux/thread_info.h>
 #include <linux/unistd.h>
index c622293254e4e409aeb57c77a38fad8e7c34dc5a..198eda75846b775e4b99ecd168ac10ea06e87f02 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/init.h>
 #include <linux/spinlock.h>
 #include <linux/sched.h>
+#include <linux/sched/hotplug.h>
 #include <linux/interrupt.h>
 #include <linux/cache.h>
 #include <linux/profile.h>
index 4355a4cf4d74b2c17478dc6d7f1448b98ca9a69a..4b94b7fbafa3602374477c99fd76acde79945565 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/interrupt.h>
 #include <linux/kernel_stat.h>
 #include <linux/sched.h>
+#include <linux/sched/hotplug.h>
 #include <linux/init.h>
 #include <linux/export.h>
 
index 16e37a28f876cc0af5a6b5889d6ebedf9da02862..3daa2cae50b0b976942772c7c10656d8f4ffd3ab 100644 (file)
@@ -10,6 +10,7 @@
 
 #include <linux/init.h>
 #include <linux/sched.h>
+#include <linux/sched/hotplug.h>
 #include <linux/mm.h>
 #include <linux/delay.h>
 #include <linux/smp.h>
index a2544c2394e42331cceee8f0bbf5b538f36e24fb..1d3188c23bb884ddf7eba39ded27c0f3cfc885f6 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/io.h>
 #include <linux/irqchip/mips-gic.h>
 #include <linux/sched.h>
+#include <linux/sched/hotplug.h>
 #include <linux/slab.h>
 #include <linux/smp.h>
 #include <linux/types.h>
index cfcf240cedbe26810bc77ffd79bcf297cb6e0f9a..66ede5b11355d5cc44c6fcef52e12eba738f5968 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/init.h>
 #include <linux/cpu.h>
 #include <linux/sched.h>
+#include <linux/sched/hotplug.h>
 #include <linux/smp.h>
 #include <linux/cpufreq.h>
 #include <asm/processor.h>
index a83a6d26090d1dbc8356f9d15d9e6401931ab3e3..078097a0b09d476a7b4a1a03196ed1a0acac4808 100644 (file)
@@ -12,6 +12,7 @@
 
 #include <linux/stddef.h>
 #include <linux/kernel.h>
+#include <linux/sched/hotplug.h>
 #include <linux/init.h>
 #include <linux/delay.h>
 #include <linux/of.h>
index c9eb7d6540eaeb2ff6d1eb2cb794ca53fc29885c..746ca7321b03c07f8752c63bb81d0c4d03f20fa6 100644 (file)
@@ -23,6 +23,7 @@
  */
 #include <linux/kernel.h>
 #include <linux/sched.h>
+#include <linux/sched/hotplug.h>
 #include <linux/smp.h>
 #include <linux/interrupt.h>
 #include <linux/kernel_stat.h>
index e39e6c428af1e468e6d2dc40bc3e402b909117f5..8b67e1eefb5c0a4c3beb1206e772f4015a8707f4 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/sched.h>
+#include <linux/sched/hotplug.h>
 #include <linux/smp.h>
 #include <linux/interrupt.h>
 #include <linux/delay.h>
index a1b63e00b2f7d47a469f15d5b3ed6ee13985048c..7bc0e91f871544d28b50420d3743520e5496ec4b 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/interrupt.h>
 #include <linux/delay.h>
 #include <linux/sched.h>       /* for idle_task_exit */
+#include <linux/sched/hotplug.h>
 #include <linux/cpu.h>
 #include <linux/of.h>
 #include <linux/slab.h>
index d0a74d7ce433c939a23db1561bebbb76acb966f0..b5766e03cdcbc6cd6c8877585c63b520c586ea95 100644 (file)
@@ -31,6 +31,7 @@
 #include <linux/irqflags.h>
 #include <linux/cpu.h>
 #include <linux/slab.h>
+#include <linux/sched/hotplug.h>
 #include <linux/crash_dump.h>
 #include <linux/memblock.h>
 #include <asm/asm-offsets.h>
index edc4769b047eee780c516b23d2d0a06e44de202d..4abf119c129ccc059f2e7c8ca08cf3006ae4afbe 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/cpu.h>
 #include <linux/interrupt.h>
 #include <linux/sched.h>
+#include <linux/sched/hotplug.h>
 #include <linux/atomic.h>
 #include <linux/clockchips.h>
 #include <asm/processor.h>
index 8e3e13924594c2cf8b8bdeef9ef156258ba873b9..15052d364e046a5ef1a187175da66efe7211f69a 100644 (file)
@@ -6,6 +6,7 @@
 #include <linux/export.h>
 #include <linux/kernel.h>
 #include <linux/sched.h>
+#include <linux/sched/hotplug.h>
 #include <linux/mm.h>
 #include <linux/pagemap.h>
 #include <linux/threads.h>
index fe7a66e6b5a0d28c1b60ba9d26c6e5f3d227f5dc..f3eb266d75ff750b879dcee9d0bc92fcedcce5df 100644 (file)
@@ -46,6 +46,7 @@
 #include <linux/export.h>
 #include <linux/sched.h>
 #include <linux/sched/topology.h>
+#include <linux/sched/hotplug.h>
 #include <linux/percpu.h>
 #include <linux/bootmem.h>
 #include <linux/err.h>
index fcea72019df798110aa9195fe36219fe668a6e38..f2b3e1725349c730a008e471dc3efd56867bf8ee 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/irq.h>
 #include <linux/kdebug.h>
 #include <linux/module.h>
+#include <linux/sched/hotplug.h>
 #include <linux/reboot.h>
 #include <linux/seq_file.h>
 #include <linux/smp.h>
diff --git a/include/linux/sched/hotplug.h b/include/linux/sched/hotplug.h
new file mode 100644 (file)
index 0000000..34670ed
--- /dev/null
@@ -0,0 +1,6 @@
+#ifndef _LINUX_SCHED_HOTPLUG_H
+#define _LINUX_SCHED_HOTPLUG_H
+
+#include <linux/sched.h>
+
+#endif /* _LINUX_SCHED_HOTPLUG_H */
index 0aae3183b02932959af46d4558d11e63cf40ec48..78c206579d01828c32338df01f3c6de7440dc324 100644 (file)
@@ -8,6 +8,7 @@
 #include <linux/init.h>
 #include <linux/notifier.h>
 #include <linux/sched/signal.h>
+#include <linux/sched/hotplug.h>
 #include <linux/unistd.h>
 #include <linux/cpu.h>
 #include <linux/oom.h>
index 11a0684a29a70a71d55eef5be5770075dc59c7b9..956383844116ab456f8552abd4b5dcc00e09f347 100644 (file)
@@ -9,6 +9,7 @@
 #include <linux/sched/clock.h>
 #include <uapi/linux/sched/types.h>
 #include <linux/sched/loadavg.h>
+#include <linux/sched/hotplug.h>
 #include <linux/cpuset.h>
 #include <linux/delayacct.h>
 #include <linux/init_task.h>
index e1e819f731b2348b1fb8aa6e7cd0b00a8af40508..0974eb2ef50dc2077fba05762fc66a75a86a977e 100644 (file)
@@ -3,6 +3,7 @@
 #include <linux/sched/sysctl.h>
 #include <linux/sched/topology.h>
 #include <linux/sched/rt.h>
+#include <linux/sched/deadline.h>
 #include <linux/sched/clock.h>
 #include <linux/sched/wake_q.h>
 #include <linux/sched/signal.h>
@@ -12,8 +13,9 @@
 #include <linux/sched/stat.h>
 #include <linux/sched/nohz.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/hotplug.h>
+
 #include <linux/u64_stats_sync.h>
-#include <linux/sched/deadline.h>
 #include <linux/kernel_stat.h>
 #include <linux/binfmts.h>
 #include <linux/mutex.h>