mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ia64 kernel fails to link because of PCI MSI quirk
@ 2005-03-15 16:50 James Bottomley
  2005-03-15 19:54 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: James Bottomley @ 2005-03-15 16:50 UTC (permalink / raw)
  To: Andrew Morton, Linus Torvalds; +Cc: Linux Kernel

The problem is that the MSI code has an unconditional dependency on
pci_msi_quirk.  However, the quirk and the variable are only defined if
CONFIG_X86_IO_APIC is defined, which it never is on ia64.

The solution is to make the variable global and unconditional.

James

===== drivers/pci/quirks.c 1.72 vs edited =====
--- 1.72/drivers/pci/quirks.c	2005-03-10 02:38:25 -06:00
+++ edited/drivers/pci/quirks.c	2005-03-15 10:25:43 -06:00
@@ -19,6 +19,8 @@
 #include <linux/init.h>
 #include <linux/delay.h>
 
+int pci_msi_quirk = 0;
+
 #undef DEBUG
 
 /* Deal with broken BIOS'es that neglect to enable passive release,
@@ -428,8 +430,6 @@
 		sis_apic_bug = 1;
 }
 DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_SI,	PCI_ANY_ID,
quirk_ioapic_rmw );
-
-int pci_msi_quirk;
 
 #define AMD8131_revA0        0x01
 #define AMD8131_revB0        0x11



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-03-15 20:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-15 16:50 [PATCH] ia64 kernel fails to link because of PCI MSI quirk James Bottomley
2005-03-15 19:54 ` Andrew Morton

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®