Skip to content

Commit 826eba4

Browse files
author
Al Viro
committed
the only place that needs to include asm/exec.h is linux/binfmts.h
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent ddd03a1 commit 826eba4

5 files changed

Lines changed: 1 addition & 4 deletions

File tree

‎arch/arm/include/asm/system.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#include <asm/barrier.h>
33
#include <asm/compiler.h>
44
#include <asm/cmpxchg.h>
5-
#include <asm/exec.h>
65
#include <asm/switch_to.h>
76
#include <asm/system_info.h>
87
#include <asm/system_misc.h>

‎fs/binfmt_elf.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
#include <asm/uaccess.h>
3636
#include <asm/param.h>
3737
#include <asm/page.h>
38-
#include <asm/exec.h>
3938

4039
static int load_elf_binary(struct linux_binprm *bprm, struct pt_regs *regs);
4140
static int load_elf_library(struct file *);

‎fs/binfmt_elf_fdpic.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
#include <asm/uaccess.h>
4040
#include <asm/param.h>
4141
#include <asm/pgalloc.h>
42-
#include <asm/exec.h>
4342

4443
typedef char *elf_caddr_t;
4544

‎fs/exec.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@
5959
#include <asm/uaccess.h>
6060
#include <asm/mmu_context.h>
6161
#include <asm/tlb.h>
62-
#include <asm/exec.h>
6362

6463
#include <trace/events/task.h>
6564
#include "internal.h"

‎include/linux/binfmts.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ struct pt_regs;
1919

2020
#ifdef __KERNEL__
2121
#include <linux/sched.h>
22+
#include <asm/exec.h>
2223

2324
#define CORENAME_MAX_SIZE 128
2425

0 commit comments

Comments
 (0)