summaryrefslogtreecommitdiffstats
path: root/arch/ppc64/kernel/machine_kexec.c
diff options
context:
space:
mode:
authorMichael Ellerman2005-11-04 02:09:42 +0100
committerMichael Ellerman2005-11-04 02:09:42 +0100
commitb8f510219edc719d4c305918e16edc578bcfc16f (patch)
tree7f0303abf4ce15d1f35516ee36fc8aebc270db6d /arch/ppc64/kernel/machine_kexec.c
parentpowerpc: Cleanup vpa code (diff)
downloadkernel-qcow2-linux-b8f510219edc719d4c305918e16edc578bcfc16f.tar.gz
kernel-qcow2-linux-b8f510219edc719d4c305918e16edc578bcfc16f.tar.xz
kernel-qcow2-linux-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 'arch/ppc64/kernel/machine_kexec.c')
-rw-r--r--arch/ppc64/kernel/machine_kexec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/ppc64/kernel/machine_kexec.c b/arch/ppc64/kernel/machine_kexec.c
index bf7cc4f8210f..ff8679f260f3 100644
--- a/arch/ppc64/kernel/machine_kexec.c
+++ b/arch/ppc64/kernel/machine_kexec.c
@@ -244,7 +244,6 @@ static void kexec_prepare_cpus(void)
static void kexec_prepare_cpus(void)
{
- extern void smp_release_cpus(void);
/*
* move the secondarys to us so that we can copy
* the new kernel 0-0x100 safely