On Oct 12, 2011, at 4:17 PM, Becky Bruce wrote:

> From: Becky Bruce <bec...@kernel.crashing.org>
> 
> 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 <bec...@kernel.crashing.org>
> ---
> Sent the wrong version last time; also noticed that the comment is
> incorrect now that we have 64-bit and added that to the patch.
> 
> arch/powerpc/mm/fsl_booke_mmu.c |   12 ++++++------
> 1 files changed, 6 insertions(+), 6 deletions(-)

applied

- k
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to