From: "Henrik Størner" <henrik@hswn.dk>
To: linux-kernel@vger.kernel.org
Subject: 2.5.50 compile failure: drivers/pci/quirks.c missing #include
Date: Thu, 28 Nov 2002 10:12:43 +0100 [thread overview]
Message-ID: <20021128091243.GA26352@hswn.dk> (raw)
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
function)
osiris:~/kernel/linux-2.5 $ grep sis_apic_bug include/asm-i386/*
include/asm-i386/io_apic.h:extern int sis_apic_bug;
include/asm-i386/io_apic.h: if (sis_apic_bug)
This fixes it:
--- linux-2.5/drivers/pci//quirks.c.orig 2002-11-28 10:07:21.000000000 +0100
+++ linux-2.5/drivers/pci/quirks.c 2002-11-28 10:07:57.000000000 +0100
@@ -18,6 +18,7 @@
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/delay.h>
+#include <asm/io_apic.h>
#undef DEBUG
--
Henrik Storner <henrik@hswn.dk>
reply other threads:[~2002-11-28 9:05 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=20021128091243.GA26352@hswn.dk \
--to=henrik@hswn.dk \
--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