Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 826eba4d authored by Al Viro's avatar Al Viro
Browse files

the only place that needs to include asm/exec.h is linux/binfmts.h



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent ddd03a1f
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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>
+0 −1
Original line number Diff line number Diff line
@@ -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 *);
+0 −1
Original line number Diff line number Diff line
@@ -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;

+0 −1
Original line number Diff line number Diff line
@@ -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"
+1 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ struct pt_regs;

#ifdef __KERNEL__
#include <linux/sched.h>
#include <asm/exec.h>

#define CORENAME_MAX_SIZE 128