summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorRussell King <rmk@arm.linux.org.uk>2004-06-17 17:53:57 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-06-17 17:53:57 -0700
commit1c60f076562a32cd6ccf03e8046867efe0772e92 (patch)
treed49dea95dfa8f7fa7fdf6f88cd483ec8a95c9002 /fs
parentc407c033de84b3987ccd0d1525c707e5be4bafb0 (diff)
[PATCH] Clean up asm/pgalloc.h include
This patch cleans up needless includes of asm/pgalloc.h from the fs/ kernel/ and mm/ subtrees. Compile tested on multiple ARM platforms, and x86, this patch appears safe. This patch is part of a larger patch aiming towards getting the include of asm/pgtable.h out of linux/mm.h, so that asm/pgtable.h can sanely get at things like mm_struct and friends. I suggest testing in -mm for a while to ensure there aren't any hidden arch issues. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/binfmt_aout.c1
-rw-r--r--fs/binfmt_elf.c1
-rw-r--r--fs/binfmt_flat.c1
-rw-r--r--fs/exec.c1
-rw-r--r--fs/proc/proc_misc.c1
5 files changed, 0 insertions, 5 deletions
diff --git a/fs/binfmt_aout.c b/fs/binfmt_aout.c
index 9bda8b9ac453..4ef68f799362 100644
--- a/fs/binfmt_aout.c
+++ b/fs/binfmt_aout.c
@@ -27,7 +27,6 @@
#include <asm/system.h>
#include <asm/uaccess.h>
-#include <asm/pgalloc.h>
#include <asm/cacheflush.h>
static int load_aout_binary(struct linux_binprm *, struct pt_regs * regs);
diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c
index a672adc9be27..5c79b0f4bfdd 100644
--- a/fs/binfmt_elf.c
+++ b/fs/binfmt_elf.c
@@ -40,7 +40,6 @@
#include <asm/uaccess.h>
#include <asm/param.h>
-#include <asm/pgalloc.h>
#include <linux/elf.h>
diff --git a/fs/binfmt_flat.c b/fs/binfmt_flat.c
index 465133cd60d3..64fea54db0d6 100644
--- a/fs/binfmt_flat.c
+++ b/fs/binfmt_flat.c
@@ -40,7 +40,6 @@
#include <asm/byteorder.h>
#include <asm/system.h>
#include <asm/uaccess.h>
-#include <asm/pgalloc.h>
#include <asm/unaligned.h>
#include <asm/cacheflush.h>
diff --git a/fs/exec.c b/fs/exec.c
index f1c605f13223..8db571a9b307 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -48,7 +48,6 @@
#include <linux/rmap.h>
#include <asm/uaccess.h>
-#include <asm/pgalloc.h>
#include <asm/mmu_context.h>
#ifdef CONFIG_KMOD
diff --git a/fs/proc/proc_misc.c b/fs/proc/proc_misc.c
index 60e38c7966f4..2066d2551c9f 100644
--- a/fs/proc/proc_misc.c
+++ b/fs/proc/proc_misc.c
@@ -47,7 +47,6 @@
#include <asm/uaccess.h>
#include <asm/pgtable.h>
#include <asm/io.h>
-#include <asm/pgalloc.h>
#include <asm/tlb.h>
#include <asm/div64.h>