Skip to content

Commit 3528f84

Browse files
Noam Camusvineetgarc
authored andcommitted
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>
1 parent bc0c7ec commit 3528f84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/arc/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,8 +353,8 @@ endchoice
353353

354354
config NODES_SHIFT
355355
int "Maximum NUMA Nodes (as a power of 2)"
356-
default "1" if !DISCONTIGMEM
357-
default "2" if DISCONTIGMEM
356+
default "0" if !DISCONTIGMEM
357+
default "1" if DISCONTIGMEM
358358
depends on NEED_MULTIPLE_NODES
359359
---help---
360360
Accessing memory beyond 1GB (with or w/o PAE) requires 2 memory

0 commit comments

Comments
 (0)