]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite3f80ffeb35d5d32d8c4b19f6a47d84df1b34d3b
tree61094de1257e469bd700deddacf352404a532e17
parent2f4556cf6366a5838ed4c3716a41ded438544666
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