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
config PCI_USE_VECTOR
bool "Vector-based interrupt indexing"
depends on X86_LOCAL_APIC
depends on X86_LOCAL_APIC && X86_IO_APIC
default n
help
This replaces the current existing IRQ-based index interrupt scheme
......
......@@ -85,6 +85,7 @@
#define NR_IRQS 16
#endif
#define NR_VECTORS 256
#define NR_IRQ_VECTORS NR_IRQS
#define FPU_IRQ 8
......
......@@ -47,8 +47,9 @@
#define TIMER_IRQ 0
/*
*
* IRQ definitions
*/
#define NR_VECTORS 256
#define NR_IRQS 224
#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