]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Fix MSI IA64 Support Build Breakage
authorAndrew Morton <akpm@osdl.org>
Tue, 13 Apr 2004 11:49:07 +0000 (04:49 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 13 Apr 2004 11:49:07 +0000 (04:49 -0700)
From: "Nguyen, Tom L" <tom.l.nguyen@intel.com>

The patch showed up in Linus' tree last night breaks the
"generic_defconfig" build for ia64.

Fix it by adding the NR_VECTORS device to ia64.

include/asm-ia64/msi.h

index c6145776b87f16eefa5894b770a53baa6ea12929..9180862d40d3ddfb5a7f484e109910ad2b2dea0b 100644 (file)
@@ -6,6 +6,7 @@
 #ifndef ASM_MSI_H
 #define ASM_MSI_H
 
+#define NR_VECTORS             NR_IRQS
 #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) {}