msi.c compile failure on ia64 fix
PATCH 1/1 msi.c compile failure on ia64 fix
Andrew,
Compilation of 2.6.5-mm5 on ia64 appears to fail in drivers/pci/msi.c due to lack of definition of NR_VECTORS. Following patch fix the problem.
Regards,
Naoaki Maeda
include/asm-ia64/msi.h +1 -0
@@ -6,6 +6,7 @@#ifndef ASM_MSI_H #define ASM_MSI_H +#define NR_VECTORS NR_IRQ_VECTORS#define FIRST_DEVICE_VECTOR IA64_FIRST_DEVICE_VECTOR#define LAST_DEVICE_VECTOR IA64_LAST_DEVICE_VECTORstatic inline void set_intr_gate (int nr,void *func) {}