summaryrefslogtreecommitdiffstats
path: root/kernel/profile.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-02-05 12:07:04 +0100
committerIngo Molnar <mingo@kernel.org>2017-03-02 08:42:39 +0100
commit3905f9ad455e0fd2ddb557566c5561b4a3027c07 (patch)
treeec785f857d201970b5bd72eb119ab35b6c73e8f0 /kernel/profile.c
parent32ef5517c298042ed58408545f475df43afe1f24 (diff)
downloadlinux-stable-3905f9ad455e0fd2ddb557566c5561b4a3027c07.tar.gz
linux-stable-3905f9ad455e0fd2ddb557566c5561b4a3027c07.tar.bz2
linux-stable-3905f9ad455e0fd2ddb557566c5561b4a3027c07.zip
sched/headers: Prepare to move sched_info_on() and force_schedstat_enabled() from <linux/sched.h> to <linux/sched/stat.h>
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>
Diffstat (limited to 'kernel/profile.c')
-rw-r--r--kernel/profile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/profile.c b/kernel/profile.c
index f67ce0aa6bc4..9aa2a4445b0d 100644
--- a/kernel/profile.c
+++ b/kernel/profile.c
@@ -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>