LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Rusty Russell <rusty@rustcorp.com.au>
To: Andrew Morton <akpm@osdl.org>,
	lkml - Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [TRIVIAL] fix compile of PCI-debugging for i386 and x86_64
Date: Thu, 20 May 2004 17:07:15 +1000	[thread overview]
Message-ID: <1085033533.24935.78.camel@bach> (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.


--- 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


                 reply	other threads:[~2004-05-20  7:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1085033533.24935.78.camel@bach \
    --to=rusty@rustcorp.com.au \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: [TRIVIAL] fix compile of PCI-debugging for i386 and x86_64' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).