[SPARC64]: Fix typo in pgprot_noncached().
authorDavid S. Miller <davem@sunset.davemloft.net>
Fri, 28 Jul 2006 00:57:32 +0000 (17:57 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 28 Jul 2006 00:57:32 +0000 (17:57 -0700)
The sun4v code sequence was or'ing in the sun4u pte bits by mistake.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/asm-sparc64/pgtable.h

index 03f5bc9b6becdcbfbe8fabd2be36d0cc2163c97f..1ba19eb34ce32120b7a71366ba9e7a401597c91b 100644 (file)
@@ -339,7 +339,7 @@ static inline pgprot_t pgprot_noncached(pgprot_t prot)
        "       .section        .sun4v_2insn_patch, \"ax\"\n"
        "       .word           661b\n"
        "       andn            %0, %4, %0\n"
-       "       or              %0, %3, %0\n"
+       "       or              %0, %5, %0\n"
        "       .previous\n"
        : "=r" (val)
        : "0" (val), "i" (_PAGE_CP_4U | _PAGE_CV_4U), "i" (_PAGE_E_4U),