From: Becky Bruce Date: Mon, 10 Oct 2011 10:50:38 +0000 (+0000) Subject: powerpc: Fix booke hugetlb preload code for PPC_MM_SLICES and 64-bit X-Git-Tag: v3.3-rc1~181^2~49^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c1674de2b42d9d9f14a32445055aa525892c708;p=pandora-kernel.git powerpc: Fix booke hugetlb preload code for PPC_MM_SLICES and 64-bit This patch does 2 things: It corrects the code that determines the size to write into MAS1 for the PPC_MM_SLICES case (this originally came from David Gibson and I had incorrectly altered it), and it changes the methodolody used to calculate the size for !PPC_MM_SLICES to work for 64-bit as well as 32-bit. Signed-off-by: Becky Bruce Signed-off-by: David Gibson Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed