x86: fix NODES_SHIFT Kconfig range
commit 4323838215
x86: change size of node ids from u8 to s16
set the range for NODES_SHIFT to 1..15.
The possible range is 1..9
Fixes Bugzilla #10726
Reported-by: Dave Jones <davej@codemonkey.org.uk>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
@@ -961,8 +961,8 @@ config NUMA_EMU
|
|||||||
number of nodes. This is only useful for debugging.
|
number of nodes. This is only useful for debugging.
|
||||||
|
|
||||||
config NODES_SHIFT
|
config NODES_SHIFT
|
||||||
int "Max num nodes shift(1-15)"
|
int "Max num nodes shift(1-9)"
|
||||||
range 1 15 if X86_64
|
range 1 9 if X86_64
|
||||||
default "6" if X86_64
|
default "6" if X86_64
|
||||||
default "4" if X86_NUMAQ
|
default "4" if X86_NUMAQ
|
||||||
default "3"
|
default "3"
|
||||||
|
Reference in New Issue
Block a user