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

As the first step in consolidating the pseries hotplug cpu code,
create platforms/pseries/hotplug-cpu.c and move rtas_stop_self()
into it.  Do the rtas token initialisation in a new initcall, rather
than rtas_initialize().

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/rtas.c
arch/powerpc/platforms/pseries/Makefile
arch/powerpc/platforms/pseries/hotplug-cpu.c [new file with mode: 0644]