powerpc: Don't spin on sync instruction at boot time
authorSonny Rao <sonnyrao@us.ibm.com>
Fri, 11 Jul 2008 23:00:26 +0000 (09:00 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 15 Jul 2008 02:29:28 +0000 (12:29 +1000)
commitb6f6b98a4e91fcf31db7de54c3aa86252fc6fb5f
treecf28721da06565509e05b7a9b1fa24f69b93f3e6
parentcd6f37be7fdc9fea407379745350f6630b9d3cdd
powerpc: Don't spin on sync instruction at boot time

Push the sync below the secondary smp init hold loop and comment its purpose.
This should speed up boot by reducing global traffic during the single-threaded
portion of boot.

Signed-off-by: Sonny Rao <sonnyrao@us.ibm.com>
Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/head_64.S