projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7f290d
)
powerpc: Initialize secondary CPU setup for 32-bit SMP
author
Paul Mackerras
<paulus@samba.org>
Fri, 11 Nov 2005 11:34:43 +0000
(22:34 +1100)
committer
Paul Mackerras
<paulus@samba.org>
Fri, 11 Nov 2005 11:34:43 +0000
(22:34 +1100)
32-bit SMP powermacs weren't booting with ARCH=powerpc because the
boot cpu wasn't saving away the state of various control registers,
but the secondary CPUs were loading them from the uninitialized
state. This adds the necessary save-state call.
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/head_32.S
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/kernel/head_32.S
b/arch/powerpc/kernel/head_32.S
index b102e3a2415e1fe339324745e4c3a6df75530a8d..ccdf94731e300c8d5f3160f5dd74d6eb9a7d3471 100644
(file)
--- a/
arch/powerpc/kernel/head_32.S
+++ b/
arch/powerpc/kernel/head_32.S
@@
-1100,6
+1100,7
@@
start_here:
mr r3,r31
mr r4,r30
bl machine_init
+ bl __save_cpu_setup
bl MMU_init
#ifdef CONFIG_APUS
This page took
0.025048 seconds
and
5
git commands to generate.