提交 b8cfac4c 编写于 作者: D David S. Miller

[SPARC64]: Fix typo in pgprot_noncached().

The sun4v code sequence was or'ing in the sun4u pte bits by mistake.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 92f28298
...@@ -339,7 +339,7 @@ static inline pgprot_t pgprot_noncached(pgprot_t prot) ...@@ -339,7 +339,7 @@ static inline pgprot_t pgprot_noncached(pgprot_t prot)
" .section .sun4v_2insn_patch, \"ax\"\n" " .section .sun4v_2insn_patch, \"ax\"\n"
" .word 661b\n" " .word 661b\n"
" andn %0, %4, %0\n" " andn %0, %4, %0\n"
" or %0, %3, %0\n" " or %0, %5, %0\n"
" .previous\n" " .previous\n"
: "=r" (val) : "=r" (val)
: "0" (val), "i" (_PAGE_CP_4U | _PAGE_CV_4U), "i" (_PAGE_E_4U), : "0" (val), "i" (_PAGE_CP_4U | _PAGE_CV_4U), "i" (_PAGE_E_4U),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册