From: Steven J. Magnani Date: Fri, 5 Mar 2010 21:42:24 +0000 (-0800) Subject: nommu: get_user_pages(): pin last page on non-page-aligned start X-Git-Tag: v2.6.34-rc1~149 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c08c6e1f54c85fc299cf9f88cf330d6dd28a9a1d;p=pandora-kernel.git nommu: get_user_pages(): pin last page on non-page-aligned start The noMMU version of get_user_pages() fails to pin the last page when the start address isn't page-aligned. The patch fixes this in a way that makes find_extend_vma() congruent to its MMU cousin. Signed-off-by: Steven J. Magnani Acked-by: Paul Mundt Cc: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed