diff options
author | 2006-02-16 14:13:50 +1100 | |
---|---|---|
committer | 2006-02-20 12:03:34 +1100 | |
commit | f018b36f3e1f21318066de8d01740d30e38b03d5 (patch) | |
tree | a893342f794d08a2ee79cbe960b312c54cb47e44 /drivers/acpi/processor_idle.c | |
parent | [PATCH] powerpc: Fix OOPS in lparcfg on G5 (diff) | |
download | wireguard-linux-f018b36f3e1f21318066de8d01740d30e38b03d5.tar.xz wireguard-linux-f018b36f3e1f21318066de8d01740d30e38b03d5.zip |
[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>
Diffstat (limited to 'drivers/acpi/processor_idle.c')
0 files changed, 0 insertions, 0 deletions