powerpc/mm: Fix encoding of page table cache numbers
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 6 Aug 2009 03:50:58 +0000 (13:50 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Aug 2009 00:25:12 +0000 (10:25 +1000)
commitaf984b816530b4725b92e01ecfba7c5e3eab910d
tree61094de1257e469bd700deddacf352404a532e17
parent2d27cfd3286966c04d4192a9db5a6c7ea60eebf1
powerpc/mm: Fix encoding of page table cache numbers

The mask used to encode the page table cache number in the
batch when freeing page tables was too small for the new
possible values of MMU page sizes. This increases it along
with a comment explaining the constraints.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/pgalloc.h