WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [IA64] Make maximum number of supported p

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] Make maximum number of supported physical CPUs a compile-time option
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 23 Jan 2008 01:11:24 -0800
Delivery-date: Wed, 23 Jan 2008 01:17:27 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] Make maximum number of supported physical CPUs a compile-time option, Xen patchbot-unstable <=