aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/head_32.S
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-10-26 07:45:56 -0400
committerPaul Mackerras <paulus@samba.org>2005-10-26 07:45:56 -0400
commitbbd0abda9cc689a54df509aae00000bbb2a1a7d1 (patch)
treed04e8f196f65f5598300485e654e5e90a6160aa6 /arch/powerpc/kernel/head_32.S
parent303d72a0006c65bb8d16199c75a26338ce723811 (diff)
powerpc: Merge 32-bit CHRP support.
SMP still needs more work but UP gets as far as starting userspace at least. This uses the 64-bit-style code for spinning up the cpus. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/head_32.S')
-rw-r--r--arch/powerpc/kernel/head_32.S9
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/head_32.S b/arch/powerpc/kernel/head_32.S
index cd51fe585fcd..f8673f7b2b2d 100644
--- a/arch/powerpc/kernel/head_32.S
+++ b/arch/powerpc/kernel/head_32.S
@@ -207,7 +207,7 @@ turn_on_mmu:
207 .globl __secondary_hold 207 .globl __secondary_hold
208__secondary_hold: 208__secondary_hold:
209 /* tell the master we're here */ 209 /* tell the master we're here */
210 stw r3,4(0) 210 stw r3,__secondary_hold_acknowledge@l(0)
211#ifdef CONFIG_SMP 211#ifdef CONFIG_SMP
212100: lwz r4,0(0) 212100: lwz r4,0(0)
213 /* wait until we're told to start */ 213 /* wait until we're told to start */
@@ -220,6 +220,13 @@ __secondary_hold:
220 b . 220 b .
221#endif /* CONFIG_SMP */ 221#endif /* CONFIG_SMP */
222 222
223 .globl __secondary_hold_spinloop
224__secondary_hold_spinloop:
225 .long 0
226 .globl __secondary_hold_acknowledge
227__secondary_hold_acknowledge:
228 .long -1
229
223/* 230/*
224 * Exception entry code. This code runs with address translation 231 * Exception entry code. This code runs with address translation
225 * turned off, i.e. using physical addresses. 232 * turned off, i.e. using physical addresses.