[POWERPC] Move pSeries_mach_cpu_die() into platforms/pseries/hotplug-cpu.c
commit04da6af960194ecdee4c29cd3f86e766903418ca
authorMichael Ellerman <michael@ellerman.id.au>
Tue, 5 Dec 2006 06:52:37 +0000 (5 17:52 +1100)
committerPaul Mackerras <paulus@samba.org>
Fri, 8 Dec 2006 04:55:55 +0000 (8 15:55 +1100)
tree310338d736b94f4665880aac81ef455873bb8c63
parent0332c2d447a7a20a4d744ba3814a349d0c1c6405
[POWERPC] Move pSeries_mach_cpu_die() into platforms/pseries/hotplug-cpu.c

Move pSeries_mach_cpu_die() into platforms/pseries/hotplug-cpu.c,
this allows rtas_stop_self() to be static so remove the prototype.

Wire up pSeries_mach_cpu_die() in the initcall, rather than statically
in setup.c, the initcall will still run prior to the cpu hotplug code
being callable, so there should be no change in behaviour.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pseries/hotplug-cpu.c
arch/powerpc/platforms/pseries/setup.c
include/asm-powerpc/rtas.h