Commit 22c841c9 authored by Paul Mackerras's avatar Paul Mackerras

powerpc: Initialize secondary CPU setup for 32-bit SMP

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: default avatarPaul Mackerras <paulus@samba.org>
parent a7f290da
...@@ -1100,6 +1100,7 @@ start_here: ...@@ -1100,6 +1100,7 @@ start_here:
mr r3,r31 mr r3,r31
mr r4,r30 mr r4,r30
bl machine_init bl machine_init
bl __save_cpu_setup
bl MMU_init bl MMU_init
#ifdef CONFIG_APUS #ifdef CONFIG_APUS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment