[PATCH] 2.6-latest-bk. PCI MSI missing #define in include/asm-ia64/irq.h

From: Darren Williams <dsw_at_gelato.unsw.edu.au>
Date: 2004-04-14 11:18:42
The auto build system at:
http://www.gelato.unsw.edu.au/kerncomp/
fails to compile all defconfigs due to a missing
#define.
This was due to this update:
http://linux.bkbits.net:8080/linux-2.5/diffs/drivers/pci/msi.c@1.6?nav=index.html|src/|src/drivers|src/drivers/pci|hist/drivers/pci/msi.c

The value set for NR_VECTORS may be wrong?

NOT tested for booting due to lack or resources.

Darren

# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.1763  -> 1.1764 
#	include/asm-ia64/irq.h	1.6     -> 1.7    
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 04/04/14	dsw@quasar.(none)	1.1764
# NR_VECTORS and NR_IRQ_VECTORS are both required for ia64 builds that include CONFIG_PCI_USE_VECTOR
# --------------------------------------------
#
diff -Nru a/include/asm-ia64/irq.h b/include/asm-ia64/irq.h
--- a/include/asm-ia64/irq.h	Wed Apr 14 10:47:56 2004
+++ b/include/asm-ia64/irq.h	Wed Apr 14 10:47:56 2004
@@ -12,6 +12,7 @@
  */
 
 #define NR_IRQS		256
+#define NR_VECTORS	NR_IRQS
 #define NR_IRQ_VECTORS	NR_IRQS
 
 static __inline__ int


--------------------------------------------------
Darren Williams <dsw AT gelato.unsw.edu.au>
Gelato@UNSW <www.gelato.unsw.edu.au>
--------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Tue Apr 13 21:19:24 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:25 EST