[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-ia64-devel] [patch] base NR_DYNIRQS on CONFIG_NR_CPUS
Hi, This one is needed to boot more than 40 CPUs or we run out of IRQ sources. Cheers, Jes # HG changeset patch # User jes@xxxxxxxxxxxxxxxx # Date 1181737204 -7200 # Node ID c275cb400f8cbf4d4b71f142f6921601c401b882 # Parent a87acf37aa004a51e6e8dfead05a941ff6ab087c 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> diff -r a87acf37aa00 -r c275cb400f8c 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 Wed Jun 13 14:20:04 2007 +0200 @@ -32,7 +32,7 @@ #define NR_DYNIRQS 256 #define NR_IRQS (NR_PIRQS + NR_DYNIRQS) -#define NR_IRQ_VECTORS NR_IRQS +#define NR_DYNIRQS (CONFIG_NR_CPUS * 8) #define pirq_to_irq(_x) ((_x) + PIRQ_BASE) #define irq_to_pirq(_x) ((_x) - PIRQ_BASE) _______________________________________________ Xen-ia64-devel mailing list Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-ia64-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |