From: Becky Bruce Date: Wed, 12 Oct 2011 21:17:02 +0000 (-0500) Subject: powerpc/fsl-booke: Fix settlbcam for 64-bit X-Git-Tag: v3.2-rc1~34^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4559424a0c34f0cb22fa31bc24015a06dc064b32;p=pandora-kernel.git powerpc/fsl-booke: Fix settlbcam for 64-bit Currently, it does a cntlzd on the size and then subtracts it from 21.... this doesn't take into account the varying size of a "long". Just use __ilog instead (and subtract the 10 we have to subtract to get to the tsize encoding). Also correct the comment about page sizes supported. Signed-off-by: Becky Bruce Signed-off-by: Kumar Gala --- Reading git-diff-tree failed