[TRIVIAL] fix compile of PCI-debugging for i386 and x86_64

From: Rusty Russell
Date: Thu May 20 2004 - 02:10:09 EST


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


--- trivial-2.6.6-bk6/arch/i386/pci/irq.c.orig 2004-05-20 15:59:00.000000000 +1000
+++ trivial-2.6.6-bk6/arch/i386/pci/irq.c 2004-05-20 15:59:00.000000000 +1000
@@ -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;

--
What is this? http://www.kernel.org/pub/linux/kernel/people/rusty/trivial/
Don't blame me: the Monkey is driving
File: Bernhard Fischer <berny.f@xxxxxx>: [patchlet] fix compile of PCI-debugging for i386 and x86_64

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/