kernel_optimize_test/arch/powerpc
Jesse Larrew 39bf990ead 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>
2011-01-11 16:06:16 +11:00
..
boot Merge remote branch 'gcl/next' into next 2011-01-11 15:10:08 +11:00
configs powerpc/4xx: Add Canyonlands suspend and idle support 2010-11-29 10:05:24 -05:00
include/asm powerpc/pseries: Fix VPHN build errors on non-SMP systems 2011-01-11 16:06:16 +11:00
kernel powerpc/pci: Use printf extension %pR for struct resource 2010-12-09 15:36:30 +11:00
kvm KVM: PPC: BookE: Load the lower half of MSR 2010-11-05 14:42:29 -02:00
lib powerpc: Hardcode popcnt instructions for old assemblers 2010-12-09 15:35:30 +11:00
math-emu powerpc/Makefiles: Change to new flag variables 2010-10-13 16:19:22 +11:00
mm powerpc/pseries: Fix VPHN build errors on non-SMP systems 2011-01-11 16:06:16 +11:00
oprofile oprofile/fsl emb: Don't set MSR[PMM] until after clearing the interrupt. 2010-10-14 00:53:05 -05:00
platforms Merge remote branch 'gcl/next' into next 2011-01-11 15:10:08 +11:00
sysdev Merge remote branch 'gcl/next' into next 2011-01-11 15:10:08 +11:00
xmon powerpc/Makefiles: Change to new flag variables 2010-10-13 16:19:22 +11:00
Kconfig powerpc/4xx: Add suspend and idle support 2010-11-29 10:05:06 -05:00
Kconfig.debug powerpc: Unconditionally enabled irq stacks 2010-06-15 15:02:37 +10:00
Makefile powerpc: Fix typo in uImage target 2010-08-24 15:26:32 +10:00
relocs_check.pl