diff options
author | Nathan Fontenot <nfont@austin.ibm.com> | 2009-12-08 09:48:44 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-12-09 17:10:38 +1100 |
commit | 275a64f6040073254fa15eaf6e4e720f77d531d6 (patch) | |
tree | c61b33621046a0ebd7b4ba8529d54e5109a8b37f /lib/zlib_inflate | |
parent | 40d50cf7ca956183f3a573bc21082e1c7d04fa7b (diff) | |
download | talos-op-linux-275a64f6040073254fa15eaf6e4e720f77d531d6.tar.gz talos-op-linux-275a64f6040073254fa15eaf6e4e720f77d531d6.zip |
powerpc/pseries: Correct pseries/dlpar.c build break without CONFIG_SMP
The recent patch to add cpu offline/online as part of the DLPAR
process for pseries causes a build break if CONFIG_SMP is not
defined. Original patch here;
http://lists.ozlabs.org/pipermail/linuxppc-dev/2009-November/078299.html
This corrects the build break by moving the online_node_cpus
and offline_node_cpus under the #ifdef CONFIG_ARCH_CPU_PROBE_RELEASE
portions of dlpar.c.
This patch also slightly modifies the online_node_cpus and offline_node_cpus
routines to prepend dlpar_ to the them and make them static. These two
routine are only used in the dlpar add/remove of cpus and these changes
should help clarify that.
Signed-off-by: Nathan Fontenot <nfont@austin.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'lib/zlib_inflate')
0 files changed, 0 insertions, 0 deletions