aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64/Kconfig
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-03-25 10:30:58 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-25 12:10:56 -0500
commit01d4bed417b5943577e9290fbf672ea9a449dc46 (patch)
treeb04d4b16cc9311f5181e26ebbf3f3202499c8cb9 /arch/x86_64/Kconfig
parent5b922cd429675059f7a7798f7a0b3898c38dc070 (diff)
[PATCH] x86_64: Limit max number of CPUs to 255
Because 256 causes overflows in some code that stores them in 8 bit fields and the x86 APIC architecture cannot handle more than 255 anyways. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64/Kconfig')
-rw-r--r--arch/x86_64/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/Kconfig b/arch/x86_64/Kconfig
index 24a3016c079d..6fc631457196 100644
--- a/arch/x86_64/Kconfig
+++ b/arch/x86_64/Kconfig
@@ -323,7 +323,7 @@ config HAVE_ARCH_EARLY_PFN_TO_NID
323 323
324config NR_CPUS 324config NR_CPUS
325 int "Maximum number of CPUs (2-256)" 325 int "Maximum number of CPUs (2-256)"
326 range 2 256 326 range 2 255
327 depends on SMP 327 depends on SMP
328 default "8" 328 default "8"
329 help 329 help