Skip to contentSkip to conversation

fix compile of PCI-debugging for i386 and x86_64

TRIVIAL Rusty Russell 1 participant 1 message May 20, 2004

lore
Share & tools
lore
#0 lore raw

Either pull in pirq_table or remove the debug cruft^Wstuff from sis_router_probe altogether...
Attached does the former. Trivial latter upon request.

arch/i386/pci/irq.c renamed from arch/i386/pci/irq.c.orig +3 -0
@@ -535,6 +535,9 @@
 
 static __init int sis_router_probe(struct irq_router *r, struct pci_dev *router, u16 device)
 {
+#ifdef DEBUG
+	struct irq_routing_table *rt = pirq_table;
+#endif
 	if (device != PCI_DEVICE_ID_SI_503)
 		return 0;
 		
Signature · 3 lines
  What is this? http://www.kernel.org/pub/linux/kernel/people/rusty/trivial/
  Don't blame me: the Monkey is driving
  File: Bernhard Fischer <[email protected]>: [patchlet] fix compile of PCI-debugging for i386 and x86_64