diff options
author | Ingo Molnar <mingo@kernel.org> | 2017-02-08 18:51:36 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-03-02 08:42:35 +0100 |
commit | ef8bd77f332bb0a4e467d7171bbfc6c57aa08a88 (patch) | |
tree | b9b884c68799ae2adfde4124306a94fdb141f217 /kernel | |
parent | b17b01533b719e9949e437abf66436a875739b40 (diff) | |
download | op-kernel-dev-ef8bd77f332bb0a4e467d7171bbfc6c57aa08a88.zip op-kernel-dev-ef8bd77f332bb0a4e467d7171bbfc6c57aa08a88.tar.gz |
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.c | 1 | ||||
-rw-r--r-- | kernel/sched/core.c | 1 | ||||
-rw-r--r-- | kernel/sched/sched.h | 4 |
3 files changed, 5 insertions, 1 deletions
diff --git a/kernel/cpu.c b/kernel/cpu.c index 0aae318..78c2065 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c @@ -8,6 +8,7 @@ #include <linux/init.h> #include <linux/notifier.h> #include <linux/sched/signal.h> +#include <linux/sched/hotplug.h> #include <linux/unistd.h> #include <linux/cpu.h> #include <linux/oom.h> diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 11a0684..9563838 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -9,6 +9,7 @@ #include <linux/sched/clock.h> #include <uapi/linux/sched/types.h> #include <linux/sched/loadavg.h> +#include <linux/sched/hotplug.h> #include <linux/cpuset.h> #include <linux/delayacct.h> #include <linux/init_task.h> diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index e1e819f..0974eb2 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -3,6 +3,7 @@ #include <linux/sched/sysctl.h> #include <linux/sched/topology.h> #include <linux/sched/rt.h> +#include <linux/sched/deadline.h> #include <linux/sched/clock.h> #include <linux/sched/wake_q.h> #include <linux/sched/signal.h> @@ -12,8 +13,9 @@ #include <linux/sched/stat.h> #include <linux/sched/nohz.h> #include <linux/sched/debug.h> +#include <linux/sched/hotplug.h> + #include <linux/u64_stats_sync.h> -#include <linux/sched/deadline.h> #include <linux/kernel_stat.h> #include <linux/binfmts.h> #include <linux/mutex.h> |