mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 01:34:14 +08:00
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: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
parent
948cf67c47
commit
dd79773864
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user