From: Paul Mackerras Date: Fri, 11 Nov 2005 11:34:43 +0000 (+1100) Subject: powerpc: Initialize secondary CPU setup for 32-bit SMP X-Git-Tag: v2.6.15-rc1~14^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=22c841c9a465a6b29a6140fcc5dae9fdb3c8674d;p=linux-2.6-omap-h63xx.git 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: Paul Mackerras --- diff --git a/arch/powerpc/kernel/head_32.S b/arch/powerpc/kernel/head_32.S index b102e3a2415..ccdf94731e3 100644 --- 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