diff options
author | Ingo Molnar <mingo@kernel.org> | 2017-02-08 12:51:33 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-03-02 02:42:32 -0500 |
commit | b12fb7f46af7d548503d75be59f493f958c6d1b3 (patch) | |
tree | a3c70bbd6e5782d6a9b6449ba6e07240f2131f20 | |
parent | cc5efc2323a89dcf1a02c17b9b9f255c5a6e0492 (diff) |
sched/headers: Prepare for new header dependencies before moving code to <linux/sched/xacct.h>
We are going to split <linux/sched/xacct.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/xacct.h> file that just
maps to <linux/sched.h> to make this patch obviously correct and
bisectable.
Include the new header in the .c file that is 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>
-rw-r--r-- | fs/read_write.c | 3 | ||||
-rw-r--r-- | include/linux/sched/xacct.h | 6 |
2 files changed, 8 insertions, 1 deletions
diff --git a/fs/read_write.c b/fs/read_write.c index 5816d4c4cab0..dc60075653a8 100644 --- a/fs/read_write.c +++ b/fs/read_write.c | |||
@@ -4,8 +4,9 @@ | |||
4 | * Copyright (C) 1991, 1992 Linus Torvalds | 4 | * Copyright (C) 1991, 1992 Linus Torvalds |
5 | */ | 5 | */ |
6 | 6 | ||
7 | #include <linux/slab.h> | 7 | #include <linux/slab.h> |
8 | #include <linux/stat.h> | 8 | #include <linux/stat.h> |
9 | #include <linux/sched/xacct.h> | ||
9 | #include <linux/fcntl.h> | 10 | #include <linux/fcntl.h> |
10 | #include <linux/file.h> | 11 | #include <linux/file.h> |
11 | #include <linux/uio.h> | 12 | #include <linux/uio.h> |
diff --git a/include/linux/sched/xacct.h b/include/linux/sched/xacct.h new file mode 100644 index 000000000000..890f7ce5cd27 --- /dev/null +++ b/include/linux/sched/xacct.h | |||
@@ -0,0 +1,6 @@ | |||
1 | #ifndef _LINUX_SCHED_XACCT_H | ||
2 | #define _LINUX_SCHED_XACCT_H | ||
3 | |||
4 | #include <linux/sched.h> | ||
5 | |||
6 | #endif /* _LINUX_SCHED_XACCT_H */ | ||