Skip to contentSkip to conversation

sparc64: Fix hex values in comment above pte_modify().

PATCH Superseded David Miller 1 participant 1 message Apr 30, 2014 SPARC + UltraSPARC (sparc/sparc64)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

David Miller

author maintainer
#0 lore raw

PATCH 4/10 sparc64: Fix hex values in comment above pte_modify().

When _PAGE_SPECIAL and _PAGE_PMD_HUGE were added to the mask, the comment was not updated.

---
 arch/sparc/include/asm/pgtable_64.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/sparc/include/asm/pgtable_64.h +2 -2
index 1f28103..50b2d78 100644
@@ -258,8 +258,8 @@ static inline pte_t pte_modify(pte_t pte, pgprot_t prot)
 {
 	unsigned long mask, tmp;
 
-	/* SUN4U: 0x600307ffffffecb8 (negated = 0x9ffcf80000001347)
-	 * SUN4V: 0x30ffffffffffee17 (negated = 0xcf000000000011e8)
+	/* SUN4U: 0x630107ffffffecb8 (negated = 0x9cfef80000001347)
+	 * SUN4V: 0x33ffffffffffee17 (negated = 0xcc000000000011e8)
 	 *
 	 * Even if we use negation tricks the result is still a 6
 	 * instruction sequence, so don't try to play fancy and just
Signature · 1 line
1.8.1.2