Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Hugh Dickins and committed by
Linus Torvalds
ba92a43d 2b4bc460

+2 -4
+2 -4
fs/exec.c
··· 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> ··· 46 47 #include <linux/mount.h> 47 48 #include <linux/security.h> 48 49 #include <linux/syscalls.h> 49 - #include <linux/rmap.h> 50 50 #include <linux/tsacct_kern.h> 51 51 #include <linux/cn_proc.h> 52 52 #include <linux/audit.h>