From: Jack Steiner <steiner@sgi.com>
Date: Fri, 21 Mar 2008 13:34:25 +0000 (-0500)
Subject: x86: allow NODES_SHIFT to be a config option on x86_64
X-Git-Tag: firefly_0821_release~21631^2~272
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=fa3f1f42b4efac84c459383218c20ab39e4df566;p=firefly-linux-kernel-4.4.55.git

x86: allow NODES_SHIFT to be a config option on x86_64

Allow the maximum number of nodes in an x86_64 system to
be configurable. This patch does NOT change the default value
but allows the value to be a config option.

Signed-off-by: Jack Steiner <steiner@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 629923126653..e50e38e76d9f 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -885,7 +885,7 @@ config NUMA_EMU
 	  number of nodes. This is only useful for debugging.
 
 config NODES_SHIFT
-	int
+	int "Max num nodes shift(1-15)"
 	range 1 15  if X86_64
 	default "6" if X86_64
 	default "4" if X86_NUMAQ