aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-02-08 12:51:36 -0500
committerIngo Molnar <mingo@kernel.org>2017-03-02 02:42:35 -0500
commitef8bd77f332bb0a4e467d7171bbfc6c57aa08a88 (patch)
treeb9b884c68799ae2adfde4124306a94fdb141f217 /kernel
parentb17b01533b719e9949e437abf66436a875739b40 (diff)
sched/headers: Prepare for new header dependencies before moving code to <linux/sched/hotplug.h>
We are going to split <linux/sched/hotplug.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/hotplug.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 'kernel')
-rw-r--r--kernel/cpu.c1
-rw-r--r--kernel/sched/core.c1
-rw-r--r--kernel/sched/sched.h4
3 files changed, 5 insertions, 1 deletions
diff --git a/kernel/cpu.c b/kernel/cpu.c
index 0aae3183b029..78c206579d01 100644
--- a/kernel/cpu.c
+++ b/kernel/cpu.c
@@ -8,6 +8,7 @@
8#include <linux/init.h> 8#include <linux/init.h>
9#include <linux/notifier.h> 9#include <linux/notifier.h>
10#include <linux/sched/signal.h> 10#include <linux/sched/signal.h>
11#include <linux/sched/hotplug.h>
11#include <linux/unistd.h> 12#include <linux/unistd.h>
12#include <linux/cpu.h> 13#include <linux/cpu.h>
13#include <linux/oom.h> 14#include <linux/oom.h>
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 11a0684a29a7..956383844116 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -9,6 +9,7 @@
9#include <linux/sched/clock.h> 9#include <linux/sched/clock.h>
10#include <uapi/linux/sched/types.h> 10#include <uapi/linux/sched/types.h>
11#include <linux/sched/loadavg.h> 11#include <linux/sched/loadavg.h>
12#include <linux/sched/hotplug.h>
12#include <linux/cpuset.h> 13#include <linux/cpuset.h>
13#include <linux/delayacct.h> 14#include <linux/delayacct.h>
14#include <linux/init_task.h> 15#include <linux/init_task.h>
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
index e1e819f731b2..0974eb2ef50d 100644
--- a/kernel/sched/sched.h
+++ b/kernel/sched/sched.h
@@ -3,6 +3,7 @@
3#include <linux/sched/sysctl.h> 3#include <linux/sched/sysctl.h>
4#include <linux/sched/topology.h> 4#include <linux/sched/topology.h>
5#include <linux/sched/rt.h> 5#include <linux/sched/rt.h>
6#include <linux/sched/deadline.h>
6#include <linux/sched/clock.h> 7#include <linux/sched/clock.h>
7#include <linux/sched/wake_q.h> 8#include <linux/sched/wake_q.h>
8#include <linux/sched/signal.h> 9#include <linux/sched/signal.h>
@@ -12,8 +13,9 @@
12#include <linux/sched/stat.h> 13#include <linux/sched/stat.h>
13#include <linux/sched/nohz.h> 14#include <linux/sched/nohz.h>
14#include <linux/sched/debug.h> 15#include <linux/sched/debug.h>
16#include <linux/sched/hotplug.h>
17
15#include <linux/u64_stats_sync.h> 18#include <linux/u64_stats_sync.h>
16#include <linux/sched/deadline.h>
17#include <linux/kernel_stat.h> 19#include <linux/kernel_stat.h>
18#include <linux/binfmts.h> 20#include <linux/binfmts.h>
19#include <linux/mutex.h> 21#include <linux/mutex.h>