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

[Xen-changelog] [xen-unstable] [IA64] Make maximum number of supported physical CPUs a compile-time option



# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1200597434 25200
# Node ID 7643472d6b436a7433b98e8708979e2674fa9047
# Parent  44aca51a4b7b9e8b19fd5bf83dd2aff7fb54dd37
[IA64] Make maximum number of supported physical CPUs a compile-time option

Make maximum number of supported physical CPUs a compile-time
option via the 'max_phys_cpus=<nr>' compilation parameter.

Based on xen-unstable.hg cset 9464:d7cbcf5d7cd6

Signed-off-by: Atsushi SAKAI <sakaia@xxxxxxxxxxxxxx>
---
 xen/include/asm-ia64/config.h |    4 ++++
 1 files changed, 4 insertions(+)

diff -r 44aca51a4b7b -r 7643472d6b43 xen/include/asm-ia64/config.h
--- a/xen/include/asm-ia64/config.h     Thu Jan 17 12:12:08 2008 -0700
+++ b/xen/include/asm-ia64/config.h     Thu Jan 17 12:17:14 2008 -0700
@@ -25,7 +25,11 @@
 #ifdef CONFIG_XEN_SMP
 #define CONFIG_SMP 1
 #define CONFIG_HOTPLUG_CPU 1
+#ifdef MAX_PHYS_CPUS
+#define NR_CPUS MAX_PHYS_CPUS
+#else
 #define NR_CPUS 64
+#endif
 #define CONFIG_NUMA
 #define CONFIG_ACPI_NUMA
 #define NODES_SHIFT 8

_______________________________________________
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®.