diff options
author | Ingo Molnar <mingo@kernel.org> | 2017-02-08 12:51:37 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-03-02 02:42:36 -0500 |
commit | 68db0cf10678630d286f4bbbbdfa102951a35faa (patch) | |
tree | 4583b4bfacf4b7f1fd5aad675bca787c092113ca /fs | |
parent | 299300258d1bc4e997b7db340a2e06636757fe2e (diff) |
sched/headers: Prepare for new header dependencies before moving code to <linux/sched/task_stack.h>
We are going to split <linux/sched/task_stack.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/task_stack.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/binfmt_aout.c | 1 | ||||
-rw-r--r-- | fs/binfmt_elf.c | 1 | ||||
-rw-r--r-- | fs/binfmt_elf_fdpic.c | 3 | ||||
-rw-r--r-- | fs/binfmt_flat.c | 1 | ||||
-rw-r--r-- | fs/coredump.c | 1 |
5 files changed, 6 insertions, 1 deletions
diff --git a/fs/binfmt_aout.c b/fs/binfmt_aout.c index 2a59139f520b..9be82c4e14a4 100644 --- a/fs/binfmt_aout.c +++ b/fs/binfmt_aout.c | |||
@@ -25,6 +25,7 @@ | |||
25 | #include <linux/init.h> | 25 | #include <linux/init.h> |
26 | #include <linux/coredump.h> | 26 | #include <linux/coredump.h> |
27 | #include <linux/slab.h> | 27 | #include <linux/slab.h> |
28 | #include <linux/sched/task_stack.h> | ||
28 | 29 | ||
29 | #include <linux/uaccess.h> | 30 | #include <linux/uaccess.h> |
30 | #include <asm/cacheflush.h> | 31 | #include <asm/cacheflush.h> |
diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c index 2c95257fa4da..92c00a13b28b 100644 --- a/fs/binfmt_elf.c +++ b/fs/binfmt_elf.c | |||
@@ -36,6 +36,7 @@ | |||
36 | #include <linux/coredump.h> | 36 | #include <linux/coredump.h> |
37 | #include <linux/sched.h> | 37 | #include <linux/sched.h> |
38 | #include <linux/sched/coredump.h> | 38 | #include <linux/sched/coredump.h> |
39 | #include <linux/sched/task_stack.h> | ||
39 | #include <linux/cred.h> | 40 | #include <linux/cred.h> |
40 | #include <linux/dax.h> | 41 | #include <linux/dax.h> |
41 | #include <linux/uaccess.h> | 42 | #include <linux/uaccess.h> |
diff --git a/fs/binfmt_elf_fdpic.c b/fs/binfmt_elf_fdpic.c index 222873bb689c..6103a8149ccd 100644 --- a/fs/binfmt_elf_fdpic.c +++ b/fs/binfmt_elf_fdpic.c | |||
@@ -15,6 +15,8 @@ | |||
15 | #include <linux/fs.h> | 15 | #include <linux/fs.h> |
16 | #include <linux/stat.h> | 16 | #include <linux/stat.h> |
17 | #include <linux/sched.h> | 17 | #include <linux/sched.h> |
18 | #include <linux/sched/coredump.h> | ||
19 | #include <linux/sched/task_stack.h> | ||
18 | #include <linux/mm.h> | 20 | #include <linux/mm.h> |
19 | #include <linux/mman.h> | 21 | #include <linux/mman.h> |
20 | #include <linux/errno.h> | 22 | #include <linux/errno.h> |
@@ -35,7 +37,6 @@ | |||
35 | #include <linux/elf-fdpic.h> | 37 | #include <linux/elf-fdpic.h> |
36 | #include <linux/elfcore.h> | 38 | #include <linux/elfcore.h> |
37 | #include <linux/coredump.h> | 39 | #include <linux/coredump.h> |
38 | #include <linux/sched/coredump.h> | ||
39 | #include <linux/dax.h> | 40 | #include <linux/dax.h> |
40 | 41 | ||
41 | #include <linux/uaccess.h> | 42 | #include <linux/uaccess.h> |
diff --git a/fs/binfmt_flat.c b/fs/binfmt_flat.c index 9b2917a30294..2edcefc0a294 100644 --- a/fs/binfmt_flat.c +++ b/fs/binfmt_flat.c | |||
@@ -19,6 +19,7 @@ | |||
19 | 19 | ||
20 | #include <linux/kernel.h> | 20 | #include <linux/kernel.h> |
21 | #include <linux/sched.h> | 21 | #include <linux/sched.h> |
22 | #include <linux/sched/task_stack.h> | ||
22 | #include <linux/mm.h> | 23 | #include <linux/mm.h> |
23 | #include <linux/mman.h> | 24 | #include <linux/mman.h> |
24 | #include <linux/errno.h> | 25 | #include <linux/errno.h> |
diff --git a/fs/coredump.c b/fs/coredump.c index c74ab43b8383..592683711c64 100644 --- a/fs/coredump.c +++ b/fs/coredump.c | |||
@@ -18,6 +18,7 @@ | |||
18 | #include <linux/coredump.h> | 18 | #include <linux/coredump.h> |
19 | #include <linux/sched/coredump.h> | 19 | #include <linux/sched/coredump.h> |
20 | #include <linux/sched/signal.h> | 20 | #include <linux/sched/signal.h> |
21 | #include <linux/sched/task_stack.h> | ||
21 | #include <linux/utsname.h> | 22 | #include <linux/utsname.h> |
22 | #include <linux/pid_namespace.h> | 23 | #include <linux/pid_namespace.h> |
23 | #include <linux/module.h> | 24 | #include <linux/module.h> |