aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorHugh Dickins <hugh@veritas.com>2005-04-19 16:29:23 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org.(none)>2005-04-19 16:29:23 -0400
commit561bbe3235da614562fb26bb14042af684971a2d (patch)
treec60b08c7d319dd4799d7910e4f0c58100a80afd1 /mm
parentd455a3696c72283923e6870e9e4fe1daa861d7cd (diff)
[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>
Diffstat (limited to 'mm')
-rw-r--r--mm/mmap.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/mm/mmap.c b/mm/mmap.c
index ac6e694c3b61..6ea204cc751e 100644
--- 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)
1612 validate_mm(mm); 1612 validate_mm(mm);
1613} 1613}
1614 1614
1615#ifndef FIRST_USER_ADDRESS /* temporary hack */
1616#define THIS_IS_ARM FIRST_USER_PGD_NR
1617#define FIRST_USER_ADDRESS (THIS_IS_ARM * PAGE_SIZE)
1618#endif
1619
1620/* 1615/*
1621 * Get rid of page table information in the indicated region. 1616 * Get rid of page table information in the indicated region.
1622 * 1617 *