* [PATCH 2.6.5-mm5] msi.c compile failure on ia64 fix
@ 2004-04-14 5:00 MAEDA Naoaki
0 siblings, 0 replies; only message in thread
From: MAEDA Naoaki @ 2004-04-14 5:00 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel
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) {}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-04-14 5:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-14 5:00 [PATCH 2.6.5-mm5] msi.c compile failure on ia64 fix MAEDA Naoaki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®