[PATCH] freepgt: remove FIRST_USER_ADDRESS hack
authorHugh Dickins <hugh@veritas.com>
Tue, 19 Apr 2005 20:29:23 +0000 (13:29 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org.(none)>
Tue, 19 Apr 2005 20:29:23 +0000 (13:29 -0700)
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>
mm/mmap.c

index ac6e694c3b61054174be206382b8a796698c89ed..6ea204cc751e4d2f0fe4a7d213bab9ae90ad58c4 100644 (file)
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -1612,11 +1612,6 @@ static void unmap_vma_list(struct mm_struct *mm, struct vm_area_struct *vma)
        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.
  *