mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-10 15:10:38 +00:00
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 <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
parent
9904b00593
commit
3469270807
@ -433,7 +433,7 @@ typedef struct {
|
|||||||
* with. However gcc is not clever enough to compute the
|
* with. However gcc is not clever enough to compute the
|
||||||
* modulus (2^n-1) without a second multiply.
|
* 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))
|
((((protovsid) * VSID_MULTIPLIER_##size) % VSID_MODULUS_##size))
|
||||||
|
|
||||||
#else /* 1 */
|
#else /* 1 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user