From: Anton Blanchard Date: Mon, 2 Aug 2010 20:35:18 +0000 (+0000) Subject: powerpc/mm: Fix vsid_scrample typo X-Git-Tag: upstream/snapshot3+hdmi~13145^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3469270807ffde921ad36f90d7b8c8e095d3e4e8;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git powerpc/mm: Fix vsid_scrample typo The code is wrapped in an #if 0, but it's wrong so we may as well fix it. Signed-off-by: Anton Blanchard Signed-off-by: Benjamin Herrenschmidt --- diff --git a/arch/powerpc/include/asm/mmu-hash64.h b/arch/powerpc/include/asm/mmu-hash64.h index 0e398cf..acac35d 100644 --- a/arch/powerpc/include/asm/mmu-hash64.h +++ b/arch/powerpc/include/asm/mmu-hash64.h @@ -433,7 +433,7 @@ typedef struct { * with. However gcc is not clever enough to compute the * modulus (2^n-1) without a second multiply. */ -#define vsid_scrample(protovsid, size) \ +#define vsid_scramble(protovsid, size) \ ((((protovsid) * VSID_MULTIPLIER_##size) % VSID_MODULUS_##size)) #else /* 1 */