// SPDX-License-Identifier: GPL-2.0-only /* * legacy.c - traditional, old school PCI bus probing */ #include <linux/init.h> #include <linux/export.h> #include <linux/pci.h> #include <asm/jailhouse_para.h> #include <asm/pci_x86.h> /* * Discover remaining PCI buses in case there are peer host bridges. * We use the number of last PCI bus provided by the PCI BIOS. */ static void pcibios_fixup_peer_bridges(void) { … } int __init pci_legacy_init(void) { … } void pcibios_scan_specific_bus(int busn) { … } EXPORT_SYMBOL_GPL(…); static int __init pci_subsys_init(void) { … } subsys_initcall(pci_subsys_init);