[PATCH] freepgt: sys_mincore ignore FIRST_USER_PGD_NR
authorHugh Dickins <hugh@veritas.com>
Tue, 19 Apr 2005 20:29:20 +0000 (13:29 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org.(none)>
Tue, 19 Apr 2005 20:29:20 +0000 (13:29 -0700)
commit8462e201756dd3bbe7e542106fc6fd6fe059cee2
tree009c39a83ef819534621445647b04ba44bb3b13f
parente2cdef8c847b480529b7e26991926aab4be008e6
[PATCH] freepgt: sys_mincore ignore FIRST_USER_PGD_NR

Remove use of FIRST_USER_PGD_NR from sys_mincore: it's inconsistent (no other
syscall refers to it), unnecessary (sys_mincore loops over vmas further down)
and incorrect (misses user addresses in ARM's first pgd).

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/mincore.c