the only place that needs to include asm/exec.h is linux/binfmts.h
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 3 Aug 2012 08:14:44 +0000 (12:14 +0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 20 Sep 2012 13:51:13 +0000 (09:51 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/arm/include/asm/system.h
fs/binfmt_elf.c
fs/binfmt_elf_fdpic.c
fs/exec.c
include/linux/binfmts.h

index 74542c52f9befa1d5f614b3d223291f0d4a0d2c4..368165e33c1ce5f012c3a7ee29b253a66f7c07e1 100644 (file)
@@ -2,7 +2,6 @@
 #include <asm/barrier.h>
 #include <asm/compiler.h>
 #include <asm/cmpxchg.h>
-#include <asm/exec.h>
 #include <asm/switch_to.h>
 #include <asm/system_info.h>
 #include <asm/system_misc.h>
index 1b52956afe33ab07889c3963ce2c41b32133483b..2ab91905b2e2ca848c1ebc02caa313b5602065cf 100644 (file)
@@ -35,7 +35,6 @@
 #include <asm/uaccess.h>
 #include <asm/param.h>
 #include <asm/page.h>
-#include <asm/exec.h>
 
 static int load_elf_binary(struct linux_binprm *bprm, struct pt_regs *regs);
 static int load_elf_library(struct file *);
index 3d77cf81ba3c82c8dbe7d80531e34bea4355250c..c298f2efc1bfcad428fbc0cd39b55831215276c6 100644 (file)
@@ -39,7 +39,6 @@
 #include <asm/uaccess.h>
 #include <asm/param.h>
 #include <asm/pgalloc.h>
-#include <asm/exec.h>
 
 typedef char *elf_caddr_t;
 
index 574cf4de4ec38ba2c64115ca85d78e80f0e31dd2..d7f9e14f89778596c28850f4837ddae28b959135 100644 (file)
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -59,7 +59,6 @@
 #include <asm/uaccess.h>
 #include <asm/mmu_context.h>
 #include <asm/tlb.h>
-#include <asm/exec.h>
 
 #include <trace/events/task.h>
 #include "internal.h"
index 366422bc1633cecda39235276569f283faf0bf46..8938beabad7abbdfc9e914cb8e26797d89ebff3c 100644 (file)
@@ -19,6 +19,7 @@ struct pt_regs;
 
 #ifdef __KERNEL__
 #include <linux/sched.h>
+#include <asm/exec.h>
 
 #define CORENAME_MAX_SIZE 128