Commit ba92a43dbaee339cf5915ef766d3d3ffbaaf103c
Committed by
Linus Torvalds
1 parent
2b4bc46052
Exists in
master
and in
4 other branches
exec: remove some includes
fs/exec.c used to need mman.h pagemap.h swap.h and rmap.h when it did mm-ish stuff in install_arg_page(); but no need for them after 2.6.22. [akpm@linux-foundation.org: unbreak arm] Signed-off-by: Hugh Dickins <hugh@veritas.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 1 changed file with 2 additions and 4 deletions Side-by-side Diff
fs/exec.c
... | ... | @@ -25,19 +25,18 @@ |
25 | 25 | #include <linux/slab.h> |
26 | 26 | #include <linux/file.h> |
27 | 27 | #include <linux/fdtable.h> |
28 | -#include <linux/mman.h> | |
28 | +#include <linux/mm.h> | |
29 | 29 | #include <linux/stat.h> |
30 | 30 | #include <linux/fcntl.h> |
31 | 31 | #include <linux/smp_lock.h> |
32 | +#include <linux/swap.h> | |
32 | 33 | #include <linux/string.h> |
33 | 34 | #include <linux/init.h> |
34 | -#include <linux/pagemap.h> | |
35 | 35 | #include <linux/highmem.h> |
36 | 36 | #include <linux/spinlock.h> |
37 | 37 | #include <linux/key.h> |
38 | 38 | #include <linux/personality.h> |
39 | 39 | #include <linux/binfmts.h> |
40 | -#include <linux/swap.h> | |
41 | 40 | #include <linux/utsname.h> |
42 | 41 | #include <linux/pid_namespace.h> |
43 | 42 | #include <linux/module.h> |
... | ... | @@ -47,7 +46,6 @@ |
47 | 46 | #include <linux/mount.h> |
48 | 47 | #include <linux/security.h> |
49 | 48 | #include <linux/syscalls.h> |
50 | -#include <linux/rmap.h> | |
51 | 49 | #include <linux/tsacct_kern.h> |
52 | 50 | #include <linux/cn_proc.h> |
53 | 51 | #include <linux/audit.h> |