]> xenbits.xensource.com Git - xen.git/commitdiff
build: introduce CONFIG_NR_CPUS in Kconfig
authorDoug Goldstein <cardoe@cardoe.com>
Thu, 14 Jan 2016 09:34:27 +0000 (10:34 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 14 Jan 2016 09:35:04 +0000 (10:35 +0100)
Introduce an option where the user can modifiy the maximum number of
supported physical CPUs.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
xen/arch/Kconfig [new file with mode: 0644]
xen/arch/arm/Kconfig
xen/arch/x86/Kconfig

diff --git a/xen/arch/Kconfig b/xen/arch/Kconfig
new file mode 100644 (file)
index 0000000..cf0acb7
--- /dev/null
@@ -0,0 +1,8 @@
+
+config NR_CPUS
+       int "Maximum number of physical CPUs"
+       range 1 4095
+       default "256" if X86
+       default "128" if ARM
+       ---help---
+         Specifies the maximum number of physical CPUs which Xen will support.
index 2cab17b81030c93b0ba0d245519ffa9c8414d461..60e923cd460d40ed7c4440be5bdb37b2eb1c75a3 100644 (file)
@@ -31,6 +31,8 @@ config ARCH_DEFCONFIG
 
 menu "Architecture Features"
 
+source "arch/Kconfig"
+
 # Select HAS_GICV3 if GICv3 is supported
 config HAS_GICV3
        bool
index d6297679bf34991118de67db4e7d9d1752fbb7df..4781b34f787f019ba29b2b762a61ca5163640c28 100644 (file)
@@ -25,6 +25,8 @@ config ARCH_DEFCONFIG
 
 menu "Architecture Features"
 
+source "arch/Kconfig"
+
 config BIGMEM
        bool "big memory support"
        default n