LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [TRIVIAL] fix compile of PCI-debugging for i386 and x86_64
@ 2004-05-20  7:07 Rusty Russell
  0 siblings, 0 replies; only message in thread
From: Rusty Russell @ 2004-05-20  7:07 UTC (permalink / raw)
  To: Andrew Morton, lkml - Kernel Mailing List

  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@aon.at>: [patchlet] fix compile of PCI-debugging for i386 and x86_64


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-05-20  7:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-20  7:07 [TRIVIAL] fix compile of PCI-debugging for i386 and x86_64 Rusty Russell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).