Browse Source

[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>
Andi Kleen 19 years ago
parent
commit
5580eceed2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/asm-x86_64/irq.h

+ 1 - 1
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)