aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/Kconfig4
-rw-r--r--arch/powerpc/kernel/smp.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 9125964af409..bd6dd6ed3a9f 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -457,6 +457,10 @@ config USE_PERCPU_NUMA_NODE_ID
457 def_bool y 457 def_bool y
458 depends on NUMA 458 depends on NUMA
459 459
460config HAVE_MEMORYLESS_NODES
461 def_bool y
462 depends on NUMA
463
460config ARCH_SELECT_MEMORY_MODEL 464config ARCH_SELECT_MEMORY_MODEL
461 def_bool y 465 def_bool y
462 depends on PPC64 466 depends on PPC64
diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c
index d7252adea759..4863ea14f270 100644
--- a/arch/powerpc/kernel/smp.c
+++ b/arch/powerpc/kernel/smp.c
@@ -755,6 +755,7 @@ void start_secondary(void *unused)
755 * numa_node_id() works after this. 755 * numa_node_id() works after this.
756 */ 756 */
757 set_numa_node(numa_cpu_lookup_table[cpu]); 757 set_numa_node(numa_cpu_lookup_table[cpu]);
758 set_numa_mem(local_memory_node(numa_cpu_lookup_table[cpu]));
758 759
759 smp_wmb(); 760 smp_wmb();
760 notify_cpu_starting(cpu); 761 notify_cpu_starting(cpu);