lkml.org 
[lkml]   [2004]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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/
\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.027 / U:0.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site