powerpc: Fix 32-bit SMP boot on CHRP
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 13 Oct 2008 18:38:48 +0000 (18:38 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 14 Oct 2008 23:13:29 +0000 (10:13 +1100)
commit2bda347bc53fe2cacd5621d8a0426840a8d2a6a6
tree8000b78bf3a648115c916eb75cae12cd2eda415f
parent7b6b574ca7d5d5ba6ae7155c1fb877cc7130eff7
powerpc: Fix 32-bit SMP boot on CHRP

prom_init was changed to take a new argument, the address
where the kernel is loaded, which is now used to copy the
SMP spin loop down before use.

However, only head_64.S was adapted to pass this new value,
not head_32.S, thus breaking SMP boot on 32-bit SMP CHRP
machines.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/head_32.S