* asm/io_apic.h is missing in drivers/pci/quirks.c with kernel 2.5.50
@ 2002-11-29 11:48 venom
0 siblings, 0 replies; 3+ messages in thread
From: venom @ 2002-11-29 11:48 UTC (permalink / raw)
To: linux-kernel
in file drivers/pci/quirks.c of linux kernel 2.5.50
#include <asm/io_apic.h>
is missing.
this include is necessary to avoid this error
in compilation time:
rivers/pci/quirks.c: In function `quirk_ioapic_rmw':
drivers/pci/quirks.c:354: `sis_apic_bug' undeclared (first use in this
function)
drivers/pci/quirks.c:354: (Each undeclared identifier is reported only
once
drivers/pci/quirks.c:354: for each function it appears in.)
make[2]: *** [drivers/pci/quirks.o] Error 1
make[1]: *** [drivers/pci] Error 2
make: *** [drivers] Error 2
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: asm/io_apic.h is missing in drivers/pci/quirks.c with kernel 2.5.50
[not found] <mailman.1038570720.26419.linux-kernel2news@redhat.com>
@ 2002-12-01 21:42 ` Pete Zaitcev
0 siblings, 0 replies; 3+ messages in thread
From: Pete Zaitcev @ 2002-12-01 21:42 UTC (permalink / raw)
To: linux-kernel
> in file drivers/pci/quirks.c of linux kernel 2.5.50
>
> #include <asm/io_apic.h>
>
> is missing.
What about architectures which do not have the said header,
because they have no apics? I do not think this is a good idea.
-- Pete
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: asm/io_apic.h is missing in drivers/pci/quirks.c with kernel 2.5.50
@ 2002-12-01 17:47 Justin Pryzby
0 siblings, 0 replies; 3+ messages in thread
From: Justin Pryzby @ 2002-12-01 17:47 UTC (permalink / raw)
To: linux-kernel; +Cc: venom
Alan's patch:
+ extern int sis_apic_bug;
will work; however, adding #include <asm/io_apic.h> will cause the
following on 2.5.50:
include/asm/mpspec.h:203: error: `NR_CPUS' undeclared here (not in a
function)
include/asm/io_apic.h:51: error: `MAX_IO_APICS' undeclared here (not in
a function)
include/asm/fixmap.h:49: error: `FIX_IO_APIC_BASE_0' used prior to
declaration.
Just wanted to be sure people applied the right patch.
Justin
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-12-01 21:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-29 11:48 asm/io_apic.h is missing in drivers/pci/quirks.c with kernel 2.5.50 venom
2002-12-01 17:47 Justin Pryzby
[not found] <mailman.1038570720.26419.linux-kernel2news@redhat.com>
2002-12-01 21:42 ` Pete Zaitcev
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).