Skip to content

Commit

Permalink
[PATCH] freepgt: remove FIRST_USER_ADDRESS hack
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hugh Dickins authored and Linus Torvalds committed Apr 19, 2005
1 parent d455a36 commit 561bbe3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions mm/mmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit 561bbe3

Please sign in to comment.