提交 dd797738 编写于 作者: B Benjamin Herrenschmidt

powerpc: Perform an isync to synchronize CPUs coming out of secondary_hold

We need to do that to guarantee they see any code change done by
dynamic patching during boot.
Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
上级 948cf67c
......@@ -147,6 +147,8 @@ __secondary_hold:
mtctr r4
mr r3,r24
li r4,0
/* Make sure that patched code is visible */
isync
bctr
#else
BUG_OPCODE
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册