diff options
author | Hugh Dickins <hugh@veritas.com> | 2005-06-21 17:15:10 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-21 18:46:21 -0700 |
commit | 08ef472937e918875a82fd350d3de138aac50414 (patch) | |
tree | 990a503a711b82f94ad78ea5794a46992db05228 /include/asm-sh/byteorder.h | |
parent | 7c2f3fda5666c280bcd00ac3b86963270b23e796 (diff) |
[PATCH] get_user_pages: kill get_page_map
Since its birth, get_user_pages has been calling a misguided get_page_map
function. follow_page has already returned NULL if the pfn is invalid, we
cannot reach an invalid pfn from a validated struct page.
Remove get_page_map, and the messy rewind in get_user_pages to cope with
its failure. Oh, and could we please call that "struct page *page" like
everywhere else, instead of "struct page *map"?
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-sh/byteorder.h')
0 files changed, 0 insertions, 0 deletions