From: Hugh Dickins Date: Tue, 19 Apr 2005 20:29:23 +0000 (-0700) Subject: [PATCH] freepgt: remove FIRST_USER_ADDRESS hack X-Git-Tag: Ubuntu-5.0.0-8.9~56867 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=561bbe3235da614562fb26bb14042af684971a2d;p=mirror_ubuntu-disco-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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) 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. *