diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2005-11-04 12:09:42 +1100 |
---|---|---|
committer | Michael Ellerman <michael@ellerman.id.au> | 2005-11-04 12:09:42 +1100 |
commit | b8f510219edc719d4c305918e16edc578bcfc16f (patch) | |
tree | 7f0303abf4ce15d1f35516ee36fc8aebc270db6d /include/asm-ppc64 | |
parent | 40765d2b8b86446b4ac8ec880cf4fdf56ce4ae7e (diff) | |
download | linux-stable-b8f510219edc719d4c305918e16edc578bcfc16f.tar.gz linux-stable-b8f510219edc719d4c305918e16edc578bcfc16f.tar.bz2 linux-stable-b8f510219edc719d4c305918e16edc578bcfc16f.zip |
powerpc: Implement smp_release_cpus() in C not asm
There's no reason for smp_release_cpus() to be asm, and most people can make
more sense of C code. Add an extern declaration to smp.h and remove the custom
one in machine_kexec.c
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'include/asm-ppc64')
-rw-r--r-- | include/asm-ppc64/smp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-ppc64/smp.h b/include/asm-ppc64/smp.h index 46c04046952d..ba0f5c8bbb22 100644 --- a/include/asm-ppc64/smp.h +++ b/include/asm-ppc64/smp.h @@ -79,6 +79,7 @@ extern int smt_enabled_at_boot; extern int smp_mpic_probe(void); extern void smp_mpic_setup_cpu(int cpu); extern void smp_generic_kick_cpu(int nr); +extern void smp_release_cpus(void); extern void smp_generic_give_timebase(void); extern void smp_generic_take_timebase(void); |