[PATCH] freepgt: remove FIRST_USER_ADDRESS hack
Once all the MMU architectures define FIRST_USER_ADDRESS, remove hack from
mmap.c which derived it from FIRST_USER_PGD_NR.
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
diff --git a/mm/mmap.c b/mm/mmap.c
index ac6e694..6ea204c 100644
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -1612,11 +1612,6 @@
validate_mm(mm);
}
-#ifndef FIRST_USER_ADDRESS /* temporary hack */
-#define THIS_IS_ARM FIRST_USER_PGD_NR
-#define FIRST_USER_ADDRESS (THIS_IS_ARM * PAGE_SIZE)
-#endif
-
/*
* Get rid of page table information in the indicated region.
*