Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263661AbUDNFHe (ORCPT ); Wed, 14 Apr 2004 01:07:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263796AbUDNFHe (ORCPT ); Wed, 14 Apr 2004 01:07:34 -0400 Received: from fgwmail6.fujitsu.co.jp ([192.51.44.36]:20960 "EHLO fgwmail6.fujitsu.co.jp") by vger.kernel.org with ESMTP id S263661AbUDNFHb (ORCPT ); Wed, 14 Apr 2004 01:07:31 -0400 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 To: akpm@osdl.org Cc: linux-kernel@vger.kernel.org Message-id: <20040414.140006.08347127.maeda@jp.fujitsu.com> MIME-version: 1.0 X-Mailer: Mew version 2.2 on Emacs 20.3 / Mule 4.0 (HANANOEN) Content-type: Text/Plain; charset=us-ascii Content-transfer-encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 947 Lines: 24 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/