sched/headers: Prepare to move sched_info_on() and force_schedstat_enabled() from...
authorIngo Molnar <mingo@kernel.org>
Sun, 5 Feb 2017 11:07:04 +0000 (12:07 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 2 Mar 2017 07:42:39 +0000 (08:42 +0100)
But first update usage sites with the new header dependency.

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>
arch/x86/kvm/cpuid.c
arch/x86/kvm/x86.c
fs/proc/base.c
kernel/latencytop.c
kernel/profile.c

index 1d155cc56629a78ac2465c4772170a37a9314ce4..efde6cc50875184bd51e86ba08116a6095dd070b 100644 (file)
@@ -16,6 +16,8 @@
 #include <linux/export.h>
 #include <linux/vmalloc.h>
 #include <linux/uaccess.h>
+#include <linux/sched/stat.h>
+
 #include <asm/processor.h>
 #include <asm/user.h>
 #include <asm/fpu/xstate.h>
index b2a4b11274b04f472b68e986061e7c2953ae4bf2..1faf620a6fdc206705a03357d3a8ec5814b2c790 100644 (file)
@@ -54,6 +54,8 @@
 #include <linux/pvclock_gtod.h>
 #include <linux/kvm_irqfd.h>
 #include <linux/irqbypass.h>
+#include <linux/sched/stat.h>
+
 #include <trace/events/kvm.h>
 
 #include <asm/debugreg.h>
index 5914fed3712def88c5765e504388cab4d931de49..2dae60075f6ef80412ae70a0561f0b88cde0b4ab 100644 (file)
@@ -89,6 +89,7 @@
 #include <linux/sched/mm.h>
 #include <linux/sched/coredump.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/stat.h>
 #include <linux/flex_array.h>
 #include <linux/posix-timers.h>
 #ifdef CONFIG_HARDWALL
index 545839b838d69109f395dc8877e2e3661aeb76e6..96b4179cee6a76db0c63d631a8e669399d94d179 100644 (file)
@@ -56,6 +56,7 @@
 #include <linux/export.h>
 #include <linux/sched.h>
 #include <linux/sched/debug.h>
+#include <linux/sched/stat.h>
 #include <linux/list.h>
 #include <linux/stacktrace.h>
 
index f67ce0aa6bc449bc9efd60a2d61904f3216c1071..9aa2a4445b0d2a21c736b844f2df7acebe7b2158 100644 (file)
@@ -25,6 +25,8 @@
 #include <linux/mutex.h>
 #include <linux/slab.h>
 #include <linux/vmalloc.h>
+#include <linux/sched/stat.h>
+
 #include <asm/sections.h>
 #include <asm/irq_regs.h>
 #include <asm/ptrace.h>