Skip to contentSkip to conversation

powerpc/mm: Fix vsid_scrample typo

PATCH New Anton Blanchard 1 participant 1 message Aug 3, 2010 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---

arch/powerpc/include/asm/mmu-hash64.h +1 -1
Index: linux-2.6/arch/powerpc/include/asm/mmu-hash64.h
===================================================================
@@ -431,7 +431,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 */