Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 78637a97 authored by Mike Travis's avatar Mike Travis
Browse files

x86: Set CONFIG_NR_CPUS even on UP



Impact: cleanup

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
Signed-off-by: default avatarMike Travis <travis@sgi.com>
parent bcda016e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -599,12 +599,12 @@ config MAXSMP
	  If unsure, say N.

config NR_CPUS
	depends on SMP
	int "Maximum number of CPUs" if SMP && !MAXSMP
	range 2 512 if SMP && !MAXSMP
	default "1" if !SMP
	default "4096" if MAXSMP
	default "32" if X86_NUMAQ || X86_SUMMIT || X86_BIGSMP || X86_ES7000
	default "8"
	default "32" if SMP && (X86_NUMAQ || X86_SUMMIT || X86_BIGSMP || X86_ES7000)
	default "8" if SMP
	help
	  This allows you to specify the maximum number of CPUs which this
	  kernel will support.  The maximum supported value is 512 and the