Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3528f84f authored by Noam Camus's avatar Noam Camus Committed by Vineet Gupta
Browse files

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: default avatarNoam Camus <noamca@mellanox.com>
Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
parent bc0c7ece
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -353,8 +353,8 @@ endchoice


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