Skip to content

Commit

Permalink
powerpc: Initialize secondary CPU setup for 32-bit SMP
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Mackerras committed Nov 11, 2005
1 parent a7f290d commit 22c841c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/powerpc/kernel/head_32.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 22c841c

Please sign in to comment.