[PATCH 6/6] freepgt2: remove FIRST_USER_ADDRESS hack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>
---

 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux