aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorMike Travis <travis@sgi.com>2008-12-16 20:34:00 -0500
committerMike Travis <travis@sgi.com>2008-12-16 20:40:58 -0500
commit78637a97b7fe1df51f40a460448df0b93d511176 (patch)
treef2cf1f4afd476ff37a0daf4518685e15d151b6fa /arch/x86
parentbcda016eddd7a8b374bb371473c821a91ff1d8cc (diff)
x86: Set CONFIG_NR_CPUS even on UP
Impact: cleanup Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Mike Travis <travis@sgi.com>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/Kconfig6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 1fd44352f27c..4a3f5851ec64 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -599,12 +599,12 @@ config MAXSMP
599 If unsure, say N. 599 If unsure, say N.
600 600
601config NR_CPUS 601config NR_CPUS
602 depends on SMP
603 int "Maximum number of CPUs" if SMP && !MAXSMP 602 int "Maximum number of CPUs" if SMP && !MAXSMP
604 range 2 512 if SMP && !MAXSMP 603 range 2 512 if SMP && !MAXSMP
604 default "1" if !SMP
605 default "4096" if MAXSMP 605 default "4096" if MAXSMP
606 default "32" if X86_NUMAQ || X86_SUMMIT || X86_BIGSMP || X86_ES7000 606 default "32" if SMP && (X86_NUMAQ || X86_SUMMIT || X86_BIGSMP || X86_ES7000)
607 default "8" 607 default "8" if SMP
608 help 608 help
609 This allows you to specify the maximum number of CPUs which this 609 This allows you to specify the maximum number of CPUs which this
610 kernel will support. The maximum supported value is 512 and the 610 kernel will support. The maximum supported value is 512 and the