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

[SPARC64]: Fix typo in sun4v_patch().

Second instruction offset is '4' not '3'.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 6cebb520
......@@ -583,7 +583,7 @@ static void __init sun4v_patch(void)
wmb();
__asm__ __volatile__("flush %0" : : "r" (addr + 0));
*(unsigned int *) (addr + 3) = p2->insns[1];
*(unsigned int *) (addr + 4) = p2->insns[1];
wmb();
__asm__ __volatile__("flush %0" : : "r" (addr + 4));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册