diff options
author | Andi Kleen <ak@suse.de> | 2006-03-25 15:30:58 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-25 17:10:56 (GMT) |
commit | 01d4bed417b5943577e9290fbf672ea9a449dc46 (patch) | |
tree | b04d4b16cc9311f5181e26ebbf3f3202499c8cb9 /arch/x86_64 | |
parent | 5b922cd429675059f7a7798f7a0b3898c38dc070 (diff) | |
download | linux-fsl-qoriq-01d4bed417b5943577e9290fbf672ea9a449dc46.tar.xz |
[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')
-rw-r--r-- | arch/x86_64/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/Kconfig b/arch/x86_64/Kconfig index 24a3016..6fc6314 100644 --- a/arch/x86_64/Kconfig +++ b/arch/x86_64/Kconfig @@ -323,7 +323,7 @@ config HAVE_ARCH_EARLY_PFN_TO_NID config NR_CPUS int "Maximum number of CPUs (2-256)" - range 2 256 + range 2 255 depends on SMP default "8" help |