public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Stephane Ouellette <ouellettes@videotron.ca>
To: linux-kernel@vger.kernel.org
Subject: [PATCH]  Unresolved symbol compile error on non-PCI PC systems
Date: Sat, 05 Apr 2003 19:56:31 -0500	[thread overview]
Message-ID: <3E8F7B3F.1040000@videotron.ca> (raw)

[-- Attachment #1: Type: text/plain, Size: 460 bytes --]

Folks,

    in the file arch/i386/kernel/dmi_scan.c, there are two unresolved 
symbols when this file is compiled for a system without PCI support.

    The following patch fixes this.  Patch applies against 2.4.21-pre5-ac3.

    As I do not know for sure if there are other issues related with 
this patch, I would like that someone double-checks it.  There is also a 
possibility that this fix applies to the 2.5 kernel tree.

Regards,

Stephane Ouellette



[-- Attachment #2: dmi_scan.c.patch --]
[-- Type: text/plain, Size: 632 bytes --]

--- linux-2.4.21-pre5-ac3/arch/i386/kernel/dmi_scan.c	Fri Apr  4 16:52:19 2003
+++ linux-2.4.21-pre5-ac3-fixed/arch/i386/kernel/dmi_scan.c	Sat Apr  5 12:12:48 2003
@@ -415,8 +415,10 @@
  */
  
 extern int skip_ioapic_setup;
+#ifdef CONFIG_PCI
 extern int broken_440gx_bios;
 extern unsigned int pci_probe;
+#endif
 static __init int broken_pirq(struct dmi_blacklist *d)
 {
 	printk(KERN_INFO " *** Possibly defective BIOS detected (irqtable)\n");
@@ -427,8 +429,10 @@
 #ifdef CONFIG_X86_IO_APIC
 	skip_ioapic_setup = 0;
 #endif
+#ifdef CONFIG_PCI
 	broken_440gx_bios = 1;
 	pci_probe |= PCI_BIOS_IRQ_SCAN;
+#endif
 	
 	return 0;
 }

                 reply	other threads:[~2003-04-06  0:45 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=3E8F7B3F.1040000@videotron.ca \
    --to=ouellettes@videotron.ca \
    --cc=linux-kernel@vger.kernel.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox