OSDN Git Service

powerpc: Implement smp_release_cpus() in C not asm
authorMichael Ellerman <michael@ellerman.id.au>
Fri, 4 Nov 2005 01:09:42 +0000 (12:09 +1100)
committerMichael Ellerman <michael@ellerman.id.au>
Fri, 4 Nov 2005 01:09:42 +0000 (12:09 +1100)
commitb8f510219edc719d4c305918e16edc578bcfc16f
tree7f0303abf4ce15d1f35516ee36fc8aebc270db6d
parent40765d2b8b86446b4ac8ec880cf4fdf56ce4ae7e
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>
arch/powerpc/kernel/head_64.S
arch/powerpc/kernel/setup_64.c
arch/ppc64/kernel/head.S
arch/ppc64/kernel/machine_kexec.c
include/asm-ppc64/smp.h