]> git.hungrycats.org Git - linux/commitdiff
[PATCH] ppc64: one instruction fix for synchronization bug found during cpu DLPAR...
authorAndrew Morton <akpm@osdl.org>
Mon, 19 Jan 2004 02:18:58 +0000 (18:18 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 19 Jan 2004 02:18:58 +0000 (18:18 -0800)
From: Anton Blanchard <anton@samba.org>

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

arch/ppc64/kernel/head.S

index ab2603589781075bc832d10166eae8a986fa4141..a1dbedd8986e7e853a919075c83016babc42bc7f 100644 (file)
@@ -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)