aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-02-01 16:36:40 +0100
committerIngo Molnar <mingo@kernel.org>2017-03-02 08:42:26 +0100
commit4c822698cba8bdd93724117eded12bf34eb80252 (patch)
treeb4c457acd54590860471b65ec79d08012b424151 /include
parent105ab3d8ce7269887d24d224054677125e18037c (diff)
downloadlinux-4c822698cba8bdd93724117eded12bf34eb80252.tar.gz
sched/headers: Prepare for new header dependencies before moving code to <linux/sched/idle.h>
We are going to split <linux/sched/idle.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/idle.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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/sched/idle.h6
-rw-r--r--include/linux/sched/topology.h2
2 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/sched/idle.h b/include/linux/sched/idle.h
new file mode 100644
index 00000000000000..a3cf79b86986c1
--- /dev/null
+++ b/include/linux/sched/idle.h
@@ -0,0 +1,6 @@
+#ifndef _LINUX_SCHED_IDLE_H
+#define _LINUX_SCHED_IDLE_H
+
+#include <linux/sched.h>
+
+#endif /* _LINUX_SCHED_IDLE_H */
diff --git a/include/linux/sched/topology.h b/include/linux/sched/topology.h
index 4f1159f76f9229..184b56b8aa64ff 100644
--- a/include/linux/sched/topology.h
+++ b/include/linux/sched/topology.h
@@ -3,4 +3,6 @@
#include <linux/sched.h>
+#include <linux/sched/idle.h>
+
#endif /* _LINUX_SCHED_TOPOLOGY_H */