]> git.proxmox.com Git - mirror_ubuntu-focal-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 07:45:17 +0000 (08:45 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 2 Mar 2017 07:42:27 +0000 (08:42 +0100)
We are going to split <linux/sched/loadavg.h> out of <linux/sched.h>, which
will have to be picked up from a couple of .c files.

Create a trivial placeholder <linux/sched/topology.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>
18 files changed:
arch/m68k/kernel/time.c
arch/microblaze/kernel/heartbeat.c
arch/powerpc/platforms/cell/cpufreq_spudemand.c
arch/powerpc/platforms/cell/spufs/sched.c
arch/s390/appldata/appldata_os.c
arch/sh/drivers/heartbeat.c
arch/sparc/kernel/led.c
drivers/cpuidle/governors/menu.c
drivers/leds/trigger/ledtrig-heartbeat.c
drivers/platform/x86/intel_ips.c
fs/proc/loadavg.c
include/linux/sched/loadavg.h [new file with mode: 0644]
kernel/debug/kdb/kdb_main.c
kernel/sched/core.c
kernel/sched/loadavg.c
kernel/sys.c
kernel/time/timekeeping.c
net/sched/em_meta.c

index 4e5aa2f4f5225446fa7274d8c931a508cbb2fe0b..87160b4415fbb0d0707f8f839da0d3b835fd38f9 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/export.h>
 #include <linux/module.h>
 #include <linux/sched.h>
+#include <linux/sched/loadavg.h>
 #include <linux/kernel.h>
 #include <linux/param.h>
 #include <linux/string.h>
index 4643e3ab94149503252c0ee61d7c9cf8df55777a..2022130139d2dea3a2b1241c3675dbd3cb32b6ff 100644 (file)
@@ -9,6 +9,7 @@
  */
 
 #include <linux/sched.h>
+#include <linux/sched/loadavg.h>
 #include <linux/io.h>
 
 #include <asm/setup.h>
index 88301e53f0856bf44f90f9f0d6ac5c56808d12f0..882944c36ef571c21132c21c2429f65bd3ccea7b 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <linux/cpufreq.h>
 #include <linux/sched.h>
+#include <linux/sched/loadavg.h>
 #include <linux/module.h>
 #include <linux/timer.h>
 #include <linux/workqueue.h>
index 9b543df210fb37dededbb53e2258746e9e2e8845..d317c84dc794df756dbe207938bb38590cf2ed40 100644 (file)
@@ -24,6 +24,7 @@
 
 #include <linux/errno.h>
 #include <linux/sched.h>
+#include <linux/sched/loadavg.h>
 #include <linux/sched/rt.h>
 #include <linux/kernel.h>
 #include <linux/mm.h>
index 08b9e942a262eda28393f5d982f4f8d60093ca4b..079446619f89039a16876cbec73a725101d43ad4 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/kernel_stat.h>
 #include <linux/netdevice.h>
 #include <linux/sched.h>
+#include <linux/sched/loadavg.h>
 #include <asm/appldata.h>
 #include <asm/smp.h>
 
index 49bace446a1ab885be104c03946226e9ea44c4bc..c6d96049a0bb07a91e3515fdc5d3261489d60fbe 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/init.h>
 #include <linux/platform_device.h>
 #include <linux/sched.h>
+#include <linux/sched/loadavg.h>
 #include <linux/timer.h>
 #include <linux/io.h>
 #include <linux/slab.h>
index 3ae36f36e7581f107c59af05bb886c57f8032636..44a3ed93c214c5ad785386c1f7ad604525721025 100644 (file)
@@ -8,6 +8,7 @@
 #include <linux/jiffies.h>
 #include <linux/timer.h>
 #include <linux/uaccess.h>
+#include <linux/sched/loadavg.h>
 
 #include <asm/auxio.h>
 
index 8d6d25c38c020e1bcc6f6f0e68d8aab97f96bc3d..fe86060e48f75ed79da437c40a8913f082e8854d 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/hrtimer.h>
 #include <linux/tick.h>
 #include <linux/sched.h>
+#include <linux/sched/loadavg.h>
 #include <linux/math64.h>
 #include <linux/cpu.h>
 
index e6f2f8b9f09ad427b83f460cf360fff3907aaa64..afa3b40992140b2cf194ef971502a517b1cc9bd2 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/slab.h>
 #include <linux/timer.h>
 #include <linux/sched.h>
+#include <linux/sched/loadavg.h>
 #include <linux/leds.h>
 #include <linux/reboot.h>
 #include <linux/suspend.h>
index 55663b3d72823b9a20eeca4c6fee94d227248aed..58dcee562d6417be3e1d7ee52fc91c384469cffa 100644 (file)
@@ -68,6 +68,7 @@
 #include <linux/module.h>
 #include <linux/pci.h>
 #include <linux/sched.h>
+#include <linux/sched/loadavg.h>
 #include <linux/seq_file.h>
 #include <linux/string.h>
 #include <linux/tick.h>
index aec66e6c2060b8f1a3f24bfb44a90d48f5bb5af2..add5255ce7e027e1a7134063b119c52c3755086c 100644 (file)
@@ -3,6 +3,7 @@
 #include <linux/pid_namespace.h>
 #include <linux/proc_fs.h>
 #include <linux/sched.h>
+#include <linux/sched/loadavg.h>
 #include <linux/seq_file.h>
 #include <linux/seqlock.h>
 #include <linux/time.h>
diff --git a/include/linux/sched/loadavg.h b/include/linux/sched/loadavg.h
new file mode 100644 (file)
index 0000000..3ae74be
--- /dev/null
@@ -0,0 +1,6 @@
+#ifndef _LINUX_SCHED_LOADAVG_H
+#define _LINUX_SCHED_LOADAVG_H
+
+#include <linux/sched.h>
+
+#endif /* _LINUX_SCHED_LOADAVG_H */
index ca183919d3027a7b3d6792ffc07de0c55fbc920f..308937c7a687725b05e02bc4b6c885536bd32b51 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/kmsg_dump.h>
 #include <linux/reboot.h>
 #include <linux/sched.h>
+#include <linux/sched/loadavg.h>
 #include <linux/sysrq.h>
 #include <linux/smp.h>
 #include <linux/utsname.h>
index ed39d1d0b64a438e0723c70ed056cf28c6e83461..11a0684a29a70a71d55eef5be5770075dc59c7b9 100644 (file)
@@ -8,6 +8,7 @@
 #include <linux/sched.h>
 #include <linux/sched/clock.h>
 #include <uapi/linux/sched/types.h>
+#include <linux/sched/loadavg.h>
 #include <linux/cpuset.h>
 #include <linux/delayacct.h>
 #include <linux/init_task.h>
index a2d6eb71f06b80527b86dd99a83f6d4621265cec..7296b7308ecaebb6cca949e1a9e2d4361750f7c6 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <linux/export.h>
+#include <linux/sched/loadavg.h>
 
 #include "sched.h"
 
index b07adca97ea3d31f5568c97a3580fbf2f3dd178f..28b8a4c1bc7ea4e9e75e849b784e68069af706bb 100644 (file)
@@ -49,6 +49,7 @@
 #include <linux/binfmts.h>
 
 #include <linux/sched.h>
+#include <linux/sched/loadavg.h>
 #include <linux/rcupdate.h>
 #include <linux/uidgid.h>
 #include <linux/cred.h>
index 95b258dd75dbb152d7eea3043a0f71d6a61617e5..fb564acee0f3db11b6f59a9da2505ae9e3fd4ddd 100644 (file)
@@ -15,6 +15,7 @@
 #include <linux/init.h>
 #include <linux/mm.h>
 #include <linux/sched.h>
+#include <linux/sched/loadavg.h>
 #include <linux/syscore_ops.h>
 #include <linux/clocksource.h>
 #include <linux/jiffies.h>
index 41c80b6c39063afb726dac0b6f52022f82b25fa9..ae7e4f5b348b86ad352e0011c8e0d0227a44f1e3 100644 (file)
@@ -63,6 +63,7 @@
 #include <linux/types.h>
 #include <linux/kernel.h>
 #include <linux/sched.h>
+#include <linux/sched/loadavg.h>
 #include <linux/string.h>
 #include <linux/skbuff.h>
 #include <linux/random.h>