[PATCH v2] powerpc/fsl-booke: Fix settlbcam for 64-bit
Kumar Gala
galak at kernel.crashing.org
Thu Oct 13 16:02:30 EST 2011
On Oct 12, 2011, at 4:17 PM, Becky Bruce wrote:
> From: Becky Bruce <beckyb at 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 <beckyb at 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
More information about the Linuxppc-dev
mailing list