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] [linux-2.6.18-xen] [IA64] Determine the size of NR_DYNIR

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] [IA64] Determine the size of NR_DYNIRQS based on the size of CONFIG_NR_CPUS.
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 16 Jun 2007 06:01:25 -0700
Delivery-date: Sat, 16 Jun 2007 05:59:50 -0700
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 1181852601 21600
# Node ID b492ac038d613212da3ee16646168b56ef8833cc
# Parent  a87acf37aa004a51e6e8dfead05a941ff6ab087c
[IA64] Determine the size of NR_DYNIRQS based on the size of CONFIG_NR_CPUS.

Hardcoding to 256 means things break when trying to boot medium
to large systems.

Signed-off-by: Jes Sorensen <jes@xxxxxxx>
---
 include/asm-ia64/irq.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r a87acf37aa00 -r b492ac038d61 include/asm-ia64/irq.h
--- a/include/asm-ia64/irq.h    Tue Jun 12 22:02:27 2007 -0600
+++ b/include/asm-ia64/irq.h    Thu Jun 14 14:23:21 2007 -0600
@@ -29,7 +29,7 @@
 #define NR_PIRQS               256
 
 #define DYNIRQ_BASE            (PIRQ_BASE + NR_PIRQS)
-#define NR_DYNIRQS             256
+#define NR_DYNIRQS             (CONFIG_NR_CPUS * 8)
 
 #define NR_IRQS                        (NR_PIRQS + NR_DYNIRQS)
 #define NR_IRQ_VECTORS         NR_IRQS

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] [IA64] Determine the size of NR_DYNIRQS based on the size of CONFIG_NR_CPUS., Xen patchbot-linux-2.6.18-xen <=