summaryrefslogtreecommitdiffstats
path: root/include/asm-i386
diff options
context:
space:
mode:
authorbibo,mao2006-05-31 12:17:33 +0200
committerGreg Kroah-Hartman2006-06-21 21:00:00 +0200
commitb209a6ee49099b7500abf024f7b6b9648b5a3eac (patch)
tree6e6c614ae010aa92e9ded5e55c3a913f3c6c9dd3 /include/asm-i386
parent[PATCH] PCI: disable msi mode in pci_disable_device (diff)
downloadkernel-qcow2-linux-b209a6ee49099b7500abf024f7b6b9648b5a3eac.tar.gz
kernel-qcow2-linux-b209a6ee49099b7500abf024f7b6b9648b5a3eac.tar.xz
kernel-qcow2-linux-b209a6ee49099b7500abf024f7b6b9648b5a3eac.zip
[PATCH] PCI: cleanup unused variable about msi driver
In IA64 platform, msi driver does not use irq_vector variable, and in x86 platform LAST_DEVICE_VECTOR should one before FIRST_SYSTEM_VECTOR, this patch modify this. Signed-off-by: bibo, mao <bibo.mao@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/asm-i386')
-rw-r--r--include/asm-i386/msi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-i386/msi.h b/include/asm-i386/msi.h
index ed1014235e9c..b11c4b7dfaef 100644
--- a/include/asm-i386/msi.h
+++ b/include/asm-i386/msi.h
@@ -9,7 +9,7 @@
#include <asm/desc.h>
#include <mach_apic.h>
-#define LAST_DEVICE_VECTOR 232
+#define LAST_DEVICE_VECTOR (FIRST_SYSTEM_VECTOR - 1)
#define MSI_TARGET_CPU_SHIFT 12
extern struct msi_ops msi_apic_ops;