aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2005-11-03 20:09:42 -0500
committerMichael Ellerman <michael@ellerman.id.au>2005-11-03 20:09:42 -0500
commitb8f510219edc719d4c305918e16edc578bcfc16f (patch)
tree7f0303abf4ce15d1f35516ee36fc8aebc270db6d /include
parent40765d2b8b86446b4ac8ec880cf4fdf56ce4ae7e (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.h1
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;
79extern int smp_mpic_probe(void); 79extern int smp_mpic_probe(void);
80extern void smp_mpic_setup_cpu(int cpu); 80extern void smp_mpic_setup_cpu(int cpu);
81extern void smp_generic_kick_cpu(int nr); 81extern void smp_generic_kick_cpu(int nr);
82extern void smp_release_cpus(void);
82 83
83extern void smp_generic_give_timebase(void); 84extern void smp_generic_give_timebase(void);
84extern void smp_generic_take_timebase(void); 85extern void smp_generic_take_timebase(void);