diff options
Diffstat (limited to 'include/asm-x86_64/irq.h')
-rw-r--r-- | include/asm-x86_64/irq.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/asm-x86_64/irq.h b/include/asm-x86_64/irq.h index 43469d8a..5006c6e 100644 --- a/include/asm-x86_64/irq.h +++ b/include/asm-x86_64/irq.h @@ -31,13 +31,8 @@ #define FIRST_SYSTEM_VECTOR 0xef /* duplicated in hw_irq.h */ -#ifdef CONFIG_PCI_MSI -#define NR_IRQS FIRST_SYSTEM_VECTOR +#define NR_IRQS (NR_VECTORS + (32 *NR_CPUS)) #define NR_IRQ_VECTORS NR_IRQS -#else -#define NR_IRQS 224 -#define NR_IRQ_VECTORS (32 * NR_CPUS) -#endif static __inline__ int irq_canonicalize(int irq) { |