From: Dave Kleikamp Date: Wed, 14 Jan 2009 09:09:34 +0000 (+0000) Subject: powerpc: is_hugepage_only_range() must account for both 4kB and 64kB slices X-Git-Tag: v2.6.29-rc2~4^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ba0fdbfaed2e74005d87fab948c5522b86ff733;p=pandora-kernel.git powerpc: is_hugepage_only_range() must account for both 4kB and 64kB slices powerpc: is_hugepage_only_range() must account for both 4kB and 64kB slices The subpage_prot syscall fails on second and subsequent calls for a given region, because is_hugepage_only_range() is mis-identifying the 4 kB slices when the process has a 64 kB page size. Signed-off-by: Dave Kleikamp Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed