summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2005-11-04 12:09:42 +1100
committerMichael Ellerman <michael@ellerman.id.au>2005-11-04 12:09:42 +1100
commitb8f510219edc719d4c305918e16edc578bcfc16f (patch)
tree7f0303abf4ce15d1f35516ee36fc8aebc270db6d /include
parent40765d2b8b86446b4ac8ec880cf4fdf56ce4ae7e (diff)
downloadop-kernel-dev-b8f510219edc719d4c305918e16edc578bcfc16f.zip
op-kernel-dev-b8f510219edc719d4c305918e16edc578bcfc16f.tar.gz
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 46c0404..ba0f5c8 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);
OpenPOWER on IntegriCloud