From: Noam Camus Date: Wed, 21 Sep 2016 10:51:48 +0000 (+0300) Subject: ARC: CONFIG_NODES_SHIFT fix default values X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3528f84f75d5d6aa4d5bb365162ac4f016f8a6fa;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Vineet Gupta --- 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 config NODES_SHIFT int "Maximum NUMA Nodes (as a power of 2)" - default "1" if !DISCONTIGMEM - default "2" if DISCONTIGMEM + default "0" if !DISCONTIGMEM + default "1" if DISCONTIGMEM depends on NEED_MULTIPLE_NODES ---help--- Accessing memory beyond 1GB (with or w/o PAE) requires 2 memory