diff options
author | Ingo Molnar <mingo@kernel.org> | 2017-02-05 05:48:36 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-03-02 02:42:39 -0500 |
commit | 32ef5517c298042ed58408545f475df43afe1f24 (patch) | |
tree | d681805884828976055703f3169592379188f841 /fs/proc | |
parent | f719ff9bcee2a422647790f12d53d3755f47c727 (diff) |
sched/headers: Prepare to move cputime functionality from <linux/sched.h> into <linux/sched/cputime.h>
Introduce a trivial, mostly empty <linux/sched/cputime.h> header
to prepare for the moving of cputime functionality out of sched.h.
Update all code that relies on these facilities.
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 'fs/proc')
-rw-r--r-- | fs/proc/array.c | 1 | ||||
-rw-r--r-- | fs/proc/stat.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/fs/proc/array.c b/fs/proc/array.c index f3169b58af38..88c355574aa0 100644 --- a/fs/proc/array.c +++ b/fs/proc/array.c | |||
@@ -63,6 +63,7 @@ | |||
63 | #include <linux/sched/mm.h> | 63 | #include <linux/sched/mm.h> |
64 | #include <linux/sched/numa_balancing.h> | 64 | #include <linux/sched/numa_balancing.h> |
65 | #include <linux/sched/task.h> | 65 | #include <linux/sched/task.h> |
66 | #include <linux/sched/cputime.h> | ||
66 | #include <linux/proc_fs.h> | 67 | #include <linux/proc_fs.h> |
67 | #include <linux/ioport.h> | 68 | #include <linux/ioport.h> |
68 | #include <linux/uaccess.h> | 69 | #include <linux/uaccess.h> |
diff --git a/fs/proc/stat.c b/fs/proc/stat.c index b95556e036bb..bd4e55f4aa20 100644 --- a/fs/proc/stat.c +++ b/fs/proc/stat.c | |||
@@ -10,7 +10,7 @@ | |||
10 | #include <linux/slab.h> | 10 | #include <linux/slab.h> |
11 | #include <linux/time.h> | 11 | #include <linux/time.h> |
12 | #include <linux/irqnr.h> | 12 | #include <linux/irqnr.h> |
13 | #include <linux/cputime.h> | 13 | #include <linux/sched/cputime.h> |
14 | #include <linux/tick.h> | 14 | #include <linux/tick.h> |
15 | 15 | ||
16 | #ifndef arch_irq_stat_cpu | 16 | #ifndef arch_irq_stat_cpu |