]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitc799d9855af2d03fe6b77d40d6d851a387626f19
tree009c39a83ef819534621445647b04ba44bb3b13f
parent2f644dadfad107b4139de5c926536ef5eca66466
[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