diff options
author | Ingo Molnar <mingo@kernel.org> | 2017-02-01 18:07:51 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-03-02 08:42:27 +0100 |
commit | ae7e81c077d60507dcec139e40a6d10cf932cf4b (patch) | |
tree | 1cbf2ecc1d72680cb3dad5eb6174ded450585ac3 /kernel/sched | |
parent | e601757102cfd3eeae068f53b3bc1234f3a2b2e9 (diff) | |
download | blackbird-obmc-linux-ae7e81c077d60507dcec139e40a6d10cf932cf4b.tar.gz blackbird-obmc-linux-ae7e81c077d60507dcec139e40a6d10cf932cf4b.zip |
sched/headers: Prepare for new header dependencies before moving code to <uapi/linux/sched/types.h>
We are going to move scheduler ABI details to <uapi/linux/sched/types.h>,
which will be used from a number of .c files.
Create empty placeholder header that maps to <linux/types.h>.
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/sched')
-rw-r--r-- | kernel/sched/core.c | 1 | ||||
-rw-r--r-- | kernel/sched/cpufreq_schedutil.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 1a7fd3d21e5a..ed39d1d0b64a 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -7,6 +7,7 @@ */ #include <linux/sched.h> #include <linux/sched/clock.h> +#include <uapi/linux/sched/types.h> #include <linux/cpuset.h> #include <linux/delayacct.h> #include <linux/init_task.h> diff --git a/kernel/sched/cpufreq_schedutil.c b/kernel/sched/cpufreq_schedutil.c index fd4659313640..8f8de3d4d6b7 100644 --- a/kernel/sched/cpufreq_schedutil.c +++ b/kernel/sched/cpufreq_schedutil.c @@ -13,6 +13,7 @@ #include <linux/cpufreq.h> #include <linux/kthread.h> +#include <uapi/linux/sched/types.h> #include <linux/slab.h> #include <trace/events/power.h> |