Commit 942630bb authored by Jane Chu's avatar Jane Chu Committed by Greg Kroah-Hartman

arch/sparc: increase CONFIG_NODES_SHIFT on SPARC64 to 5

[ Upstream commit 7485af89 ]

SPARC M6-32 platform has (2^5) NUMA nodes, so need to bump up the
CONFIG_NODES_SHIFT to 5.

Orabug: 25577754
Signed-off-by: 's avatarJane Chu <jane.chu@oracle.com>
Reviewed-by: 's avatarBob Picco <bob.picco@oracle.com>
Reviewed-by: 's avatarAtish Patra <atish.patra@oracle.com>
Signed-off-by: 's avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: 's avatarSasha Levin <sashal@kernel.org>
parent c375d28c
......@@ -290,9 +290,13 @@ config NUMA
depends on SPARC64 && SMP
config NODES_SHIFT
int
default "4"
int "Maximum NUMA Nodes (as a power of 2)"
range 4 5 if SPARC64
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment