de05667da7
The way the kconfig is structured, you either have a range from 2-512 CPUs if SMP is set and MAXSMP is not set, or you get the default value of 4096 as soon as you set MAXSMP. Increase the range to 1024 in the !MAXSMP case.
14 lines
461 B
Diff
14 lines
461 B
Diff
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
|
|
index f67e839..d726b2d 100644
|
|
--- a/arch/x86/Kconfig
|
|
+++ b/arch/x86/Kconfig
|
|
@@ -825,7 +825,7 @@ config MAXSMP
|
|
config NR_CPUS
|
|
int "Maximum number of CPUs" if SMP && !MAXSMP
|
|
range 2 8 if SMP && X86_32 && !X86_BIGSMP
|
|
- range 2 512 if SMP && !MAXSMP
|
|
+ range 2 1024 if SMP && !MAXSMP
|
|
default "1" if !SMP
|
|
default "4096" if MAXSMP
|
|
default "32" if SMP && (X86_NUMAQ || X86_SUMMIT || X86_BIGSMP || X86_ES7000)
|