public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.5.50 compile failure: drivers/pci/quirks.c missing #include
@ 2002-11-28  9:12 Henrik Størner
  0 siblings, 0 replies; only message in thread
From: Henrik Størner @ 2002-11-28  9:12 UTC (permalink / raw)
  To: linux-kernel

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> 

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

only message in thread, other threads:[~2002-11-28  9:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-28  9:12 2.5.50 compile failure: drivers/pci/quirks.c missing #include Henrik Størner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox