aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc
diff options
context:
space:
mode:
authorNoam Camus <noamca@mellanox.com>2016-09-21 06:51:48 -0400
committerVineet Gupta <vgupta@synopsys.com>2016-09-30 17:48:24 -0400
commit3528f84f75d5d6aa4d5bb365162ac4f016f8a6fa (patch)
tree325841a9b0232817d9bd1c6fec829be8a08acd7f /arch/arc
parentbc0c7ece6191d89f435e4e4016f74167430c6c21 (diff)
ARC: CONFIG_NODES_SHIFT fix default values
Seem like values assigned as absolute number and not and shift value, i.e. should be 0 for one node (2^0) and 1 for couple of nodes (2^1) Signed-off-by: Noam Camus <noamca@mellanox.com> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc')
-rw-r--r--arch/arc/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig
index 073b3582544b..ecd12379e2cd 100644
--- a/arch/arc/Kconfig
+++ b/arch/arc/Kconfig
@@ -353,8 +353,8 @@ endchoice
353 353
354config NODES_SHIFT 354config NODES_SHIFT
355 int "Maximum NUMA Nodes (as a power of 2)" 355 int "Maximum NUMA Nodes (as a power of 2)"
356 default "1" if !DISCONTIGMEM 356 default "0" if !DISCONTIGMEM
357 default "2" if DISCONTIGMEM 357 default "1" if DISCONTIGMEM
358 depends on NEED_MULTIPLE_NODES 358 depends on NEED_MULTIPLE_NODES
359 ---help--- 359 ---help---
360 Accessing memory beyond 1GB (with or w/o PAE) requires 2 memory 360 Accessing memory beyond 1GB (with or w/o PAE) requires 2 memory