Michael Ellerman f018b36f3e [PATCH] powerpc: Don't start secondary CPUs in a UP && KEXEC kernel
Because smp_release_cpus() is built for SMP || KEXEC, it's not safe to
unconditionally call it from setup_system(). On a UP && KEXEC kernel we'll
start up the secondary CPUs which will then go beserk and we die.

Simple fix is to conditionally call smp_release_cpus() in setup_system(). With
that in place we don't need the dummy definition of smp_release_cpus() because
all call sites are #ifdef'ed either SMP or KEXEC.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-02-20 12:03:34 +11:00
..
2005-11-18 14:39:23 +11:00
2005-10-13 13:40:54 +10:00
2006-01-09 14:49:06 +11:00
2006-01-09 14:49:06 +11:00
2006-02-07 21:28:38 +11:00
2006-01-12 20:09:30 +11:00
2006-01-09 15:06:03 +11:00
2005-11-09 11:35:26 +11:00
2006-01-09 15:47:13 +11:00
2005-11-28 14:34:23 -08:00