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

[Xen-changelog] [linux-2.6.18-xen] [IA64] Determine the size of NR_DYNIRQS based on the size of CONFIG_NR_CPUS.



# 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


 


Rackspace

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