commit | 9ba0fdbfaed2e74005d87fab948c5522b86ff733 | [log] [tgz] |
---|---|---|
author | Dave Kleikamp <shaggy@linux.vnet.ibm.com> | Wed Jan 14 09:09:34 2009 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Fri Jan 16 16:15:16 2009 +1100 |
tree | 723f6080b37a16e7b0a75e017c0886898c58b7d7 | |
parent | 5d9ee3ff3dbf815cd9ee18c166bb9b538e8057d2 [diff] |
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 <shaggy@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>