summaryrefslogtreecommitdiff
path: root/include/linux/sched
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-02-08 20:51:55 +0300
committerIngo Molnar <mingo@kernel.org>2017-03-03 03:45:32 +0300
commited53742d793bd92ed32114081370b199dc94467d (patch)
treee9b35ecb6515053be92a85bf700e30581b312788 /include/linux/sched
parentaa829c7679a13fca667f772db1f0ea03adc29122 (diff)
downloadlinux-ed53742d793bd92ed32114081370b199dc94467d.tar.xz
sched/headers: Remove <linux/sched.h> from <linux/sched/cpufreq.h>
Make the <linux/sched/cpufreq.h> file a self-contained header and remove the <linux/sched.h> dependency: users of it either don't need <linux/sched.h> - or have already included it. This reduces the size of the header dependency graph. 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> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/sched')
-rw-r--r--include/linux/sched/cpufreq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched/cpufreq.h b/include/linux/sched/cpufreq.h
index 2bdcfbfc4c30..d2be2ccbb372 100644
--- a/include/linux/sched/cpufreq.h
+++ b/include/linux/sched/cpufreq.h
@@ -1,7 +1,7 @@
#ifndef _LINUX_SCHED_CPUFREQ_H
#define _LINUX_SCHED_CPUFREQ_H
-#include <linux/sched.h>
+#include <linux/types.h>
/*
* Interface between cpufreq drivers and the scheduler: