This patch is against linux-next. The warning does not occur in latest linux-2.6. Fixes: WARNING: vmlinux.o(.text+0x38421d): Section mismatch in reference from the function pcibios_scan_specific_bus() to the function .devinit.text:pci_scan_bus_on_node() The function pcibios_scan_specific_bus() references the function __devinit pci_scan_bus_on_node(). This is often because pcibios_scan_specific_bus lacks a __devinit annotation or the annotation of pci_scan_bus_on_node is wrong. pcibios_scan_specific_bus() needs a __devinit Signed-off-by: Prarit Bhargava <prarit@xxxxxxxxxx> diff --git a/arch/x86/pci/legacy.c b/arch/x86/pci/legacy.c index 8d460ea..c89266b 100644 --- a/arch/x86/pci/legacy.c +++ b/arch/x86/pci/legacy.c @@ -36,7 +36,7 @@ int __init pci_legacy_init(void) return 0; } -void pcibios_scan_specific_bus(int busn) +void __devinit pcibios_scan_specific_bus(int busn) { int devfn; long node; -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html