diff options
author | Ingo Molnar <mingo@kernel.org> | 2017-02-08 12:51:35 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-03-02 02:42:34 -0500 |
commit | 370c91355c76cbcaad8ff79b4bb15a7f2ea59433 (patch) | |
tree | 67a52b0885ffb289f6bf1180a4357267d97e1e78 /kernel | |
parent | 03441a3482a31462c93509939a388877e3cd9261 (diff) |
sched/headers: Prepare for new header dependencies before moving code to <linux/sched/nohz.h>
We are going to split <linux/sched/nohz.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/nohz.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/sched/sched.h | 1 | ||||
-rw-r--r-- | kernel/time/hrtimer.c | 1 | ||||
-rw-r--r-- | kernel/time/tick-sched.c | 1 | ||||
-rw-r--r-- | kernel/time/timer.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index 6c8a1db44dde..5979f47c422c 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h | |||
@@ -10,6 +10,7 @@ | |||
10 | #include <linux/sched/mm.h> | 10 | #include <linux/sched/mm.h> |
11 | #include <linux/sched/cpufreq.h> | 11 | #include <linux/sched/cpufreq.h> |
12 | #include <linux/sched/stat.h> | 12 | #include <linux/sched/stat.h> |
13 | #include <linux/sched/nohz.h> | ||
13 | #include <linux/u64_stats_sync.h> | 14 | #include <linux/u64_stats_sync.h> |
14 | #include <linux/sched/deadline.h> | 15 | #include <linux/sched/deadline.h> |
15 | #include <linux/kernel_stat.h> | 16 | #include <linux/kernel_stat.h> |
diff --git a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c index df512e8c04d4..aed2207f5b2d 100644 --- a/kernel/time/hrtimer.c +++ b/kernel/time/hrtimer.c | |||
@@ -47,6 +47,7 @@ | |||
47 | #include <linux/sched/sysctl.h> | 47 | #include <linux/sched/sysctl.h> |
48 | #include <linux/sched/rt.h> | 48 | #include <linux/sched/rt.h> |
49 | #include <linux/sched/deadline.h> | 49 | #include <linux/sched/deadline.h> |
50 | #include <linux/sched/nohz.h> | ||
50 | #include <linux/timer.h> | 51 | #include <linux/timer.h> |
51 | #include <linux/freezer.h> | 52 | #include <linux/freezer.h> |
52 | 53 | ||
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c index 29d79b175141..7fe53be86077 100644 --- a/kernel/time/tick-sched.c +++ b/kernel/time/tick-sched.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <linux/sched/signal.h> | 22 | #include <linux/sched/signal.h> |
23 | #include <linux/sched/clock.h> | 23 | #include <linux/sched/clock.h> |
24 | #include <linux/sched/stat.h> | 24 | #include <linux/sched/stat.h> |
25 | #include <linux/sched/nohz.h> | ||
25 | #include <linux/module.h> | 26 | #include <linux/module.h> |
26 | #include <linux/irq_work.h> | 27 | #include <linux/irq_work.h> |
27 | #include <linux/posix-timers.h> | 28 | #include <linux/posix-timers.h> |
diff --git a/kernel/time/timer.c b/kernel/time/timer.c index f4465d2a25d1..d7999cb06229 100644 --- a/kernel/time/timer.c +++ b/kernel/time/timer.c | |||
@@ -40,6 +40,7 @@ | |||
40 | #include <linux/irq_work.h> | 40 | #include <linux/irq_work.h> |
41 | #include <linux/sched/signal.h> | 41 | #include <linux/sched/signal.h> |
42 | #include <linux/sched/sysctl.h> | 42 | #include <linux/sched/sysctl.h> |
43 | #include <linux/sched/nohz.h> | ||
43 | #include <linux/slab.h> | 44 | #include <linux/slab.h> |
44 | #include <linux/compat.h> | 45 | #include <linux/compat.h> |
45 | 46 | ||