diff options
author | Ingo Molnar <mingo@kernel.org> | 2017-02-05 14:24:31 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-03-02 08:42:39 +0100 |
commit | 5c2c5c5514393e31859439ef83a34051d7c68332 (patch) | |
tree | 350214b4580f87605ac8fdb1ae9e4117783b619d | |
parent | 3905f9ad455e0fd2ddb557566c5561b4a3027c07 (diff) |
sched/headers, vfs/execve: Prepare to move the do_execve*() prototypes from <linux/sched.h> to <linux/binfmts.h>
But first update the usage sites with the new header dependency.
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-- | init/main.c | 1 | ||||
-rw-r--r-- | kernel/kmod.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/init/main.c b/init/main.c index c2d337a136d1..ca9f53fb4125 100644 --- a/init/main.c +++ b/init/main.c @@ -15,6 +15,7 @@ #include <linux/extable.h> #include <linux/module.h> #include <linux/proc_fs.h> +#include <linux/binfmts.h> #include <linux/kernel.h> #include <linux/syscalls.h> #include <linux/stackprotector.h> diff --git a/kernel/kmod.c b/kernel/kmod.c index ac5f5c2d098d..563f97e2be36 100644 --- a/kernel/kmod.c +++ b/kernel/kmod.c @@ -21,6 +21,7 @@ #include <linux/module.h> #include <linux/sched.h> #include <linux/sched/task.h> +#include <linux/binfmts.h> #include <linux/syscalls.h> #include <linux/unistd.h> #include <linux/kmod.h> |