diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2005-11-03 20:09:42 -0500 |
---|---|---|
committer | Michael Ellerman <michael@ellerman.id.au> | 2005-11-03 20:09:42 -0500 |
commit | b8f510219edc719d4c305918e16edc578bcfc16f (patch) | |
tree | 7f0303abf4ce15d1f35516ee36fc8aebc270db6d /include | |
parent | 40765d2b8b86446b4ac8ec880cf4fdf56ce4ae7e (diff) |
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')
-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; | |||
79 | extern int smp_mpic_probe(void); | 79 | extern int smp_mpic_probe(void); |
80 | extern void smp_mpic_setup_cpu(int cpu); | 80 | extern void smp_mpic_setup_cpu(int cpu); |
81 | extern void smp_generic_kick_cpu(int nr); | 81 | extern void smp_generic_kick_cpu(int nr); |
82 | extern void smp_release_cpus(void); | ||
82 | 83 | ||
83 | extern void smp_generic_give_timebase(void); | 84 | extern void smp_generic_give_timebase(void); |
84 | extern void smp_generic_take_timebase(void); | 85 | extern void smp_generic_take_timebase(void); |