[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] x86: Increase default max CPUs to 64.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1249662590 -3600
# Node ID 1197585e32b73b052a1f04b1bacd464465c269cc
# Parent  3e8576d2b5d4f8576b9aa90d82c11c61fc387b90
x86: Increase default max CPUs to 64.

Also remove compile-time limit of 32 for i386. It is no longer
required, since a cpumask was moved out of struct page_info.

Signed-off-by: Wei Gang <gang.wei@xxxxxxxxx>
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/include/asm-x86/config.h |    5 +----
 1 files changed, 1 insertion(+), 4 deletions(-)

diff -r 3e8576d2b5d4 -r 1197585e32b7 xen/include/asm-x86/config.h
--- a/xen/include/asm-x86/config.h      Fri Aug 07 17:23:11 2009 +0100
+++ b/xen/include/asm-x86/config.h      Fri Aug 07 17:29:50 2009 +0100
@@ -49,13 +49,10 @@
 #ifdef MAX_PHYS_CPUS
 #define NR_CPUS MAX_PHYS_CPUS
 #else
-#define NR_CPUS 32
+#define NR_CPUS 64
 #endif
 
 #ifdef __i386__
-#if NR_CPUS > 32
-#error "Maximum of 32 physical processors supported by Xen on x86_32"
-#endif
 /* Maximum number of virtual CPUs in multi-processor guests. */
 #define MAX_VIRT_CPUS XEN_LEGACY_MAX_VCPUS
 #endif

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.