powerpc/fsl-booke: Fix settlbcam for 64-bit
authorBecky Bruce <beckyb@kernel.crashing.org>
Wed, 12 Oct 2011 21:17:02 +0000 (16:17 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 13 Oct 2011 04:39:10 +0000 (23:39 -0500)
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 <beckyb@kernel.crashing.org>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>

No differences found