From: MAEDA Naoaki <maeda.naoaki@jp.fujitsu.com>
To: akpm@osdl.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH 2.6.5-mm5] msi.c compile failure on ia64 fix
Date: Wed, 14 Apr 2004 14:00:06 +0900 (JST) [thread overview]
Message-ID: <20040414.140006.08347127.maeda@jp.fujitsu.com> (raw)
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) {}
reply other threads:[~2004-04-14 5:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040414.140006.08347127.maeda@jp.fujitsu.com \
--to=maeda.naoaki@jp.fujitsu.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®