Commit dc8d3e60 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] MSI build fixes

Add missing NR_VECTORS definition to visws and pc9800.  Also, make MSI
support dependent on CONFIG_X86_IO_APIC, as it won't build without IOAPIC
support.
parent 0e00c9ef
...@@ -1056,7 +1056,7 @@ config PCI_DIRECT ...@@ -1056,7 +1056,7 @@ config PCI_DIRECT
config PCI_USE_VECTOR config PCI_USE_VECTOR
bool "Vector-based interrupt indexing" bool "Vector-based interrupt indexing"
depends on X86_LOCAL_APIC depends on X86_LOCAL_APIC && X86_IO_APIC
default n default n
help help
This replaces the current existing IRQ-based index interrupt scheme This replaces the current existing IRQ-based index interrupt scheme
......
...@@ -85,6 +85,7 @@ ...@@ -85,6 +85,7 @@
#define NR_IRQS 16 #define NR_IRQS 16
#endif #endif
#define NR_VECTORS 256
#define NR_IRQ_VECTORS NR_IRQS #define NR_IRQ_VECTORS NR_IRQS
#define FPU_IRQ 8 #define FPU_IRQ 8
......
...@@ -47,8 +47,9 @@ ...@@ -47,8 +47,9 @@
#define TIMER_IRQ 0 #define TIMER_IRQ 0
/* /*
* * IRQ definitions
*/ */
#define NR_VECTORS 256
#define NR_IRQS 224 #define NR_IRQS 224
#define NR_IRQ_VECTORS NR_IRQS #define NR_IRQ_VECTORS NR_IRQS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment