From: Andi Kleen Date: Mon, 16 Jan 2006 00:56:54 +0000 (+0100) Subject: [PATCH] x86_64: Increase NR_IRQ_VECTORS to 32 * NR_CPUS X-Git-Tag: v2.6.16-rc1~88 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5580eceed2014135231acb3e6906accf97e10f3c;p=linux-2.6 [PATCH] x86_64: Increase NR_IRQ_VECTORS to 32 * NR_CPUS This prevents running out of GSIs on large Unisys ES7000 machines. Follows i386 Cc: "Protasevich, Natalie" Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds --- diff --git a/include/asm-x86_64/irq.h b/include/asm-x86_64/irq.h index fb724ba37a..9db5a1b4f7 100644 --- a/include/asm-x86_64/irq.h +++ b/include/asm-x86_64/irq.h @@ -36,7 +36,7 @@ #define NR_IRQ_VECTORS NR_IRQS #else #define NR_IRQS 224 -#define NR_IRQ_VECTORS 1024 +#define NR_IRQ_VECTORS (32 * NR_CPUS) #endif static __inline__ int irq_canonicalize(int irq)