summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-02-05 14:24:31 +0100
committerIngo Molnar <mingo@kernel.org>2017-03-02 08:42:39 +0100
commit5c2c5c5514393e31859439ef83a34051d7c68332 (patch)
tree350214b4580f87605ac8fdb1ae9e4117783b619d
parent3905f9ad455e0fd2ddb557566c5561b4a3027c07 (diff)
downloadop-kernel-dev-5c2c5c5514393e31859439ef83a34051d7c68332.zip
op-kernel-dev-5c2c5c5514393e31859439ef83a34051d7c68332.tar.gz
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.c1
-rw-r--r--kernel/kmod.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/init/main.c b/init/main.c
index c2d337a..ca9f53f 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 ac5f5c2..563f97e 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>
OpenPOWER on IntegriCloud