[PATCH 6/6] freepgt2: remove FIRST_USER_ADDRESS hack

From: Hugh Dickins
Date: Wed Apr 06 2005 - 20:26:53 EST


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@xxxxxxxxxxx>
---

mm/mmap.c | 5 -----
1 files changed, 5 deletions(-)

--- 2.6.12-rc2-mm1+/mm/mmap.c 2005-04-05 18:59:01.000000000 +0100
+++ linux/mm/mmap.c 2005-04-07 00:32:43.000000000 +0100
@@ -1608,11 +1608,6 @@ static void unmap_vma_list(struct mm_str
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.
*
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/