From 498ca024b89377ecfa3de1a58800f44b10e157d9 Mon Sep 17 00:00:00 2001 From: Jane Chu Date: Thu, 30 Mar 2017 12:04:40 -0600 Subject: [PATCH] arch/sparc: increase CONFIG_NODES_SHIFT on SPARC to 5 SPARC M6-32 platform has (2^5) numa nodes, so we need to bump up the CONFIG_NODES_SHIFT to 5. Orabug: 25577754 Signed-off-by: Jane Chu Reviewed-by: Bob Picco Reviewed-by: Atish Patra Signed-off-by: Allen Pais --- arch/sparc/Kconfig | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig index df5b1196be80..d7e04608a4d5 100644 --- a/arch/sparc/Kconfig +++ b/arch/sparc/Kconfig @@ -342,10 +342,13 @@ config NUMA depends on SPARC64 && SMP config NODES_SHIFT - int "Nodes Shift" + int "Maximum NUMA Nodes (as a power of 2)" range 4 5 if SPARC64 - default "4" + default "5" depends on NEED_MULTIPLE_NODES + help + Specify the maximum number of NUMA Nodes available on the target + system. Increases memory reserved to accommodate various tables. # Some NUMA nodes have memory ranges that span # other nodes. Even though a pfn is valid and -- 2.50.1