mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alex Riesen <Alexander.Riesen@synopsys.com>
To: Pawel Bernadowski <pbern@wilnet.info>
Cc: linux-kernel@vger.kernel.org, Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: Re: error in quirks.c
Date: Thu, 28 Nov 2002 10:35:50 +0100	[thread overview]
Message-ID: <20021128093549.GC20066@riesen-pc.gr05.synopsys.com> (raw)
In-Reply-To: <Pine.LNX.4.50L.0211280826070.24209-100000@farma.wilnet.info>

On Thu, Nov 28, 2002 at 08:27:09AM +0100, Pawel Bernadowski wrote:
> I use 2.5.50 and always get this error
>   gcc -Wp,-MD,drivers/pci/.quirks.o.d -D__KERNEL__ -Iinclude -Wall 
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
> -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 
> -Iarch/i386/mach-generic -nostdinc -iwithprefix include    
> -DKBUILD_BASENAME=quirks -DKBUILD_MODNAME=quirks   -c -o 
> drivers/pci/quirks.o drivers/pci/quirks.c
> drivers/pci/quirks.c: In function `quirk_ioapic_rmw':
> drivers/pci/quirks.c:354: `sis_apic_bug' undeclared (first use in this 

You have IO-APIC enabled.
Alan posted a similar patch somewhere before, just in case here is the fix
for quirks.c:


--- 2.5.50+bk/drivers/pci/quirks.c	2002-11-26 06:03:51.000000000 +0100
+++ 2.5.50/drivers/pci/quirks.c	2002-11-28 10:29:37.000000000 +0100
@@ -350,6 +350,7 @@
 
 static void __init quirk_ioapic_rmw(struct pci_dev *dev)
 {
+	extern int sis_apic_bug;
 	if (dev->devfn == 0 && dev->bus->number == 0)
 		sis_apic_bug = 1;
 }

      reply	other threads:[~2002-11-28  9:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-28  7:27 Pawel Bernadowski
2002-11-28  9:35 ` Alex Riesen [this message]

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=20021128093549.GC20066@riesen-pc.gr05.synopsys.com \
    --to=alexander.riesen@synopsys.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pbern@wilnet.info \
    /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

all inboxes | Powered by JetHome®