Commit 13690508 authored by Liu Shixin's avatar Liu Shixin
Browse files

x86/Kconfig: allow NODES_SHIFT to be set on MAXSMP

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I8UT5S


CVE: NA

--------------------------------

Allow to set NODES_SHIFT to [8, 10] on MAXSMP.

Signed-off-by: default avatarLiu Shixin <liushixin2@huanwei.com>
parent ec7d7879
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1598,7 +1598,8 @@ config NUMA_EMU
	  number of nodes. This is only useful for debugging.

config NODES_SHIFT
	int "Maximum NUMA Nodes (as a power of 2)" if !MAXSMP
	int "Maximum NUMA Nodes (as a power of 2)"
	range 8 10 if MAXSMP
	range 1 10
	default "10" if MAXSMP
	default "6" if X86_64