
[ppc64] one instruction fix for synchronization bug found during cpu DLPAR development, from Joel Schopp


---

 arch/ppc64/kernel/head.S |    1 +
 1 files changed, 1 insertion(+)

diff -puN arch/ppc64/kernel/head.S~ppc64-missing_sync arch/ppc64/kernel/head.S
--- 25/arch/ppc64/kernel/head.S~ppc64-missing_sync	2004-01-13 23:22:49.000000000 -0800
+++ 25-akpm/arch/ppc64/kernel/head.S	2004-01-13 23:22:49.000000000 -0800
@@ -147,6 +147,7 @@ _GLOBAL(__secondary_hold)
 	/* Relocation is off & we are located at an address less */
 	/* than 0x100, so only need to grab low order offset.    */
 	std     r24,__secondary_hold_acknowledge@l(0)
+	sync
 
 	/* All secondary cpu's wait here until told to start. */
 100:    ld      r4,__secondary_hold_spinloop@l(0)

_
