* [PATCH trivial] exec: remove some includes
@ 2008-06-28 23:57 Hugh Dickins
0 siblings, 0 replies; only message in thread
From: Hugh Dickins @ 2008-06-28 23:57 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel
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.
Signed-off-by: Hugh Dickins <hugh@veritas.com>
---
fs/exec.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
--- linux-next/fs/exec.c 2008-06-27 13:39:17.000000000 +0100
+++ linux/fs/exec.c 2008-06-27 14:08:00.000000000 +0100
@@ -25,19 +25,17 @@
#include <linux/slab.h>
#include <linux/file.h>
#include <linux/fdtable.h>
-#include <linux/mman.h>
+#include <linux/mm.h>
#include <linux/stat.h>
#include <linux/fcntl.h>
#include <linux/smp_lock.h>
#include <linux/string.h>
#include <linux/init.h>
-#include <linux/pagemap.h>
#include <linux/highmem.h>
#include <linux/spinlock.h>
#include <linux/key.h>
#include <linux/personality.h>
#include <linux/binfmts.h>
-#include <linux/swap.h>
#include <linux/utsname.h>
#include <linux/pid_namespace.h>
#include <linux/module.h>
@@ -47,7 +45,6 @@
#include <linux/mount.h>
#include <linux/security.h>
#include <linux/syscalls.h>
-#include <linux/rmap.h>
#include <linux/tsacct_kern.h>
#include <linux/cn_proc.h>
#include <linux/audit.h>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-06-28 23:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-28 23:57 [PATCH trivial] exec: remove some includes Hugh Dickins
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®