[PATCH] mm: xip_unmap ZERO_PAGE fix
authorHugh Dickins <hugh@veritas.com>
Sun, 30 Oct 2005 01:16:31 +0000 (18:16 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 30 Oct 2005 04:40:41 +0000 (21:40 -0700)
commit67b02f119df50ffad5a4e9e53ea4c896535862cd
tree9d651e9e62b6ead325fc6bd872f3a6232d85e8a3
parent508034a32b819a2d40aa7ac0dbc8cd2e044c2de6
[PATCH] mm: xip_unmap ZERO_PAGE fix

Small fix to the PageReserved patch: the mips ZERO_PAGE(address) depends on
address, so __xip_unmap is wrong to initialize page with that before address
is initialized; and in fact must re-evaluate it each iteration.

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/filemap_xip.c