asm/io_apic.h is missing in drivers/pci/quirks.c with kernel 2.5.50

asm/io_apic.h is missing in drivers/pci/quirks.c with kernel 2.5.50

Post by ve.. » Sat, 30 Nov 2002 13:50:11



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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. asm/io_apic.h is missing in drivers/pci/quirks.c with kernel 2.5.50

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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. XF86Config-4 settings needed for SGI Indy

3. 2.5.50 compile failure: drivers/pci/quirks.c missing #include

4. hostname problem

5. driver update to kernel 2.5.50?

6. cgi-bin question

7. Upgrade driver source kernel 2.5.50?

8. Looking at someone else's files?

9. PCI Hotplug changes for 2.5.50

10. 2.5.50 - sound driver issues with i810_audio

11. PNP driver changes for 2.5.50

12. i2c-amd766 driver for 2.5.50