[PATCH] ptwalk: clear_page_range
Convert clear_page_range pagetable walkers to loops using p?d_addr_end. These are exceptional in that some out-of-tree memory layouts might pass end 0, so the macros need to handle that (though previous code did not). The naming here was out of step: now we usually pass pmd_t *pmd down to action_on_pte_range, not action_on_pmd_range, etc: made like the others. Signed-off-by: Hugh Dickins <hugh@veritas.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Showing
Please register or sign in to comment