summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-02-08 12:51:35 -0500
committerIngo Molnar <mingo@kernel.org>2017-03-02 02:42:34 -0500
commit03441a3482a31462c93509939a388877e3cd9261 (patch)
tree0b7a9401d6e2ff621ce95cca112e64de7041302c /fs
parentfd7712337ff09a248df424c5843c149586a3f017 (diff)
sched/headers: Prepare for new header dependencies before moving code to <linux/sched/stat.h>
We are going to split <linux/sched/stat.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/stat.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 'fs')
-rw-r--r--fs/proc/loadavg.c1
-rw-r--r--fs/proc/root.c1
-rw-r--r--fs/proc/stat.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/fs/proc/loadavg.c b/fs/proc/loadavg.c
index add5255ce7e0..983fce5c2418 100644
--- a/fs/proc/loadavg.c
+++ b/fs/proc/loadavg.c
@@ -4,6 +4,7 @@
4#include <linux/proc_fs.h> 4#include <linux/proc_fs.h>
5#include <linux/sched.h> 5#include <linux/sched.h>
6#include <linux/sched/loadavg.h> 6#include <linux/sched/loadavg.h>
7#include <linux/sched/stat.h>
7#include <linux/seq_file.h> 8#include <linux/seq_file.h>
8#include <linux/seqlock.h> 9#include <linux/seqlock.h>
9#include <linux/time.h> 10#include <linux/time.h>
diff --git a/fs/proc/root.c b/fs/proc/root.c
index 5d5fed20bfff..a50ba388255f 100644
--- a/fs/proc/root.c
+++ b/fs/proc/root.c
@@ -14,6 +14,7 @@
14#include <linux/stat.h> 14#include <linux/stat.h>
15#include <linux/init.h> 15#include <linux/init.h>
16#include <linux/sched.h> 16#include <linux/sched.h>
17#include <linux/sched/stat.h>
17#include <linux/module.h> 18#include <linux/module.h>
18#include <linux/bitops.h> 19#include <linux/bitops.h>
19#include <linux/user_namespace.h> 20#include <linux/user_namespace.h>
diff --git a/fs/proc/stat.c b/fs/proc/stat.c
index e47c3e8c4dfe..b95556e036bb 100644
--- a/fs/proc/stat.c
+++ b/fs/proc/stat.c
@@ -5,6 +5,7 @@
5#include <linux/kernel_stat.h> 5#include <linux/kernel_stat.h>
6#include <linux/proc_fs.h> 6#include <linux/proc_fs.h>
7#include <linux/sched.h> 7#include <linux/sched.h>
8#include <linux/sched/stat.h>
8#include <linux/seq_file.h> 9#include <linux/seq_file.h>
9#include <linux/slab.h> 10#include <linux/slab.h>
10#include <linux/time.h> 11#include <linux/time.h>