]> git.baikalelectronics.ru Git - kernel.git/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)
commitd33a0b2974f370c6d5a3b2e7689c4e07a4efaae8
treeaba5648874cff0c517c286c79414026edc5d9534
parent3fdde3b0bc65aac9da52ac067af971e63eb1e0df
[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