summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-01-16 01:56:54 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-16 11:27:59 -0800
commit5580eceed2014135231acb3e6906accf97e10f3c (patch)
tree15a74347aaf6fee711240915ebfc771f6e95596f
parentee408c79420b6a437332d6977fe33ab72c36dc97 (diff)
downloadlinux-3.10-5580eceed2014135231acb3e6906accf97e10f3c.tar.gz
linux-3.10-5580eceed2014135231acb3e6906accf97e10f3c.tar.bz2
linux-3.10-5580eceed2014135231acb3e6906accf97e10f3c.zip
[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" <Natalie.Protasevich@unisys.com> Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--include/asm-x86_64/irq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86_64/irq.h b/include/asm-x86_64/irq.h
index fb724ba37ae..9db5a1b4f7b 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)