diff options
author | Nishanth Aravamudan <nacc@linux.vnet.ibm.com> | 2014-05-19 14:14:23 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-05-27 23:35:33 -0400 |
commit | 8c272261194dfda11cc046fbe808e052f6f284eb (patch) | |
tree | 468cda65465b0f02bb1b0bf332a5bc3e8cb16538 /arch/powerpc/Kconfig | |
parent | 86969cf7330a53c93edfd1bf2c28ad053e289162 (diff) |
powerpc/numa: Enable USE_PERCPU_NUMA_NODE_ID
Based off 3bccd996 for ia64, convert powerpc to use the generic per-CPU
topology tracking, specifically:
initialize per cpu numa_node entry in start_secondary
remove the powerpc cpu_to_node()
define CONFIG_USE_PERCPU_NUMA_NODE_ID if NUMA
Signed-off-by: Nishanth Aravamudan <nacc@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r-- | arch/powerpc/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index e0998997943b..9125964af409 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -453,6 +453,10 @@ config NODES_SHIFT | |||
453 | default "4" | 453 | default "4" |
454 | depends on NEED_MULTIPLE_NODES | 454 | depends on NEED_MULTIPLE_NODES |
455 | 455 | ||
456 | config USE_PERCPU_NUMA_NODE_ID | ||
457 | def_bool y | ||
458 | depends on NUMA | ||
459 | |||
456 | config ARCH_SELECT_MEMORY_MODEL | 460 | config ARCH_SELECT_MEMORY_MODEL |
457 | def_bool y | 461 | def_bool y |
458 | depends on PPC64 | 462 | depends on PPC64 |