]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-i386/msi.h
[PATCH] irq-flags: i386: Use the new IRQF_ constants
[linux-2.6-omap-h63xx.git] / include / asm-i386 / msi.h
index f041d4495fafeb1a5fdc44791561415f1b673684..b11c4b7dfaeffce9833a264cadb0f484e38fee2f 100644 (file)
@@ -9,7 +9,15 @@
 #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;
+
+static inline int msi_arch_init(void)
+{
+       msi_register(&msi_apic_ops);
+       return 0;
+}
+
 #endif /* ASM_MSI_H */