diff options
author | Jesse Larrew <jlarrew@linux.vnet.ibm.com> | 2010-12-18 01:07:47 +0300 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-01-11 08:06:16 +0300 |
commit | 39bf990ead35c7263652ca5dd8262b2b2cd147ac (patch) | |
tree | 2aac1543090234a97d4b67f1871bbfcd857359e2 /arch/powerpc/boot | |
parent | eed0ba0b4ab2d1668588219a8efa81bf8636a12d (diff) | |
download | linux-39bf990ead35c7263652ca5dd8262b2b2cd147ac.tar.xz |
powerpc/pseries: Fix VPHN build errors on non-SMP systems
The header asm/hvcall.h was previously included indirectly via
smp.h. On non-SMP systems, however, these declarations are excluded
and the build breaks. This is easily fixed by including asm/hvcall.h
directly.
The VPHN feature is only meaningful on NUMA systems that implement
the SPLPAR option, so exclude the VPHN code on systems without
SPLPAR enabled.
Also, expose unmap_cpu_from_node() on systems with SPLPAR enabled,
even if CONFIG_HOTPLUG_CPU is disabled.
Lastly, map_cpu_to_node() is now needed by VPHN to manipulate the
node masks after boot time, so remove the __cpuinit annotation to
fix a section mismatch.
Signed-off-by: Jesse Larrew <jlarrew@linux.vnet.ibm.com>
Diffstat (limited to 'arch/powerpc/boot')
0 files changed, 0 insertions, 0 deletions