]> err.no Git - linux-2.6/commit
[POWERPC] Wrap cpu_die() with CONFIG_HOTPLUG_CPU
authorLinas Vepstas <linas@austin.ibm.com>
Thu, 16 Nov 2006 21:41:15 +0000 (15:41 -0600)
committerPaul Mackerras <paulus@samba.org>
Mon, 4 Dec 2006 09:39:29 +0000 (20:39 +1100)
commit088df4d256227b3d927bb6ed57e66d138da0565c
treeaba5648874cff0c517c286c79414026edc5d9534
parent5873c9bdb05e9cc68ff4c45a192032a61f705067
[POWERPC] Wrap cpu_die() with CONFIG_HOTPLUG_CPU

Per email discussion, it appears that rtas_stop_self()
and pSeries_mach_cpu_die() should not be compiled if
CONFIG_HOTPLUG_CPU is not defined. This patch adds
#ifdefs around these bits of code.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/rtas.c
arch/powerpc/platforms/pseries/setup.c
include/asm-powerpc/rtas.h