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