Skip to content

Commit

Permalink
x86: fix NODES_SHIFT Kconfig range
Browse files Browse the repository at this point in the history
commit 4323838
       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>
  • Loading branch information
Thomas Gleixner committed Jul 1, 2008
1 parent 11dbc96 commit efac418
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/x86/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -961,8 +961,8 @@ config NUMA_EMU
number of nodes. This is only useful for debugging.

config NODES_SHIFT
int "Max num nodes shift(1-15)"
range 1 15 if X86_64
int "Max num nodes shift(1-9)"
range 1 9 if X86_64
default "6" if X86_64
default "4" if X86_NUMAQ
default "3"
Expand Down

0 comments on commit efac418

Please sign in to comment.