Messages in this thread Patch in this message | | | From | Ingo Molnar <> | Subject | [PATCH 42/48] sched/headers, vfs/execve: Prepare to move the do_execve*() prototypes from <linux/sched.h> to <linux/binfmts.h> | Date | Wed, 8 Feb 2017 19:39:44 +0100 |
| |
But first update the usage sites with the new header dependency.
Cc: 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> --- init/main.c | 1 + kernel/kmod.c | 1 + 2 files changed, 2 insertions(+)
diff --git a/init/main.c b/init/main.c index fcb59cd7efd2..cd2065b115f6 100644 --- a/init/main.c +++ b/init/main.c @@ -14,6 +14,7 @@ #include <linux/types.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 3cf3750e9d39..961f78617364 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> -- 2.7.4
| |