提交 561bbe32 编写于 作者: H Hugh Dickins 提交者: Linus Torvalds

[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: NHugh Dickins <hugh@veritas.com>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 d455a369
......@@ -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.
*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册