projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9904b00
)
powerpc/mm: Fix vsid_scrample typo
author
Anton Blanchard
<
[email protected]
>
Mon, 2 Aug 2010 20:35:18 +0000
(20:35 +0000)
committer
Benjamin Herrenschmidt
<
[email protected]
>
Tue, 24 Aug 2010 05:26:27 +0000
(15:26 +1000)
The code is wrapped in an #if 0, but it's wrong so we may as well fix it.
Signed-off-by: Anton Blanchard <
[email protected]
>
Signed-off-by: Benjamin Herrenschmidt <
[email protected]
>
arch/powerpc/include/asm/mmu-hash64.h
patch
|
blob
|
history
diff --git
a/arch/powerpc/include/asm/mmu-hash64.h
b/arch/powerpc/include/asm/mmu-hash64.h
index 0e398cfee2c82826b6abad1eb8ece6330df6b0b4..acac35d5b382da579cd53061c089a88a7758bb2f 100644
(file)
--- 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_scram
p
le(protovsid, size) \
+#define vsid_scram
b
le(protovsid, size) \
((((protovsid) * VSID_MULTIPLIER_##size) % VSID_MODULUS_##size))
#else /* 1 */