Messages in this thread Patch in this message | | | Date | Wed, 14 Apr 2004 14:00:06 +0900 (JST) | From | MAEDA Naoaki <> | Subject | [PATCH 2.6.5-mm5] 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
diff -Naur linux-2.6.5-mm5/include/asm-ia64/msi.h linux-2.6.5-mm5-ia64msifix/include/asm-ia64/msi.h --- linux-2.6.5-mm5/include/asm-ia64/msi.h 2004-04-14 13:10:42.000000000 +0900 +++ linux-2.6.5-mm5-ia64msifix/include/asm-ia64/msi.h 2004-04-14 13:12:51.000000000 +0900 @@ -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_VECTOR static inline void set_intr_gate (int nr, void *func) {} - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |