Messages in this thread Patch in this message | | | From | Yinghai Lu <> | Subject | [PATCH -v3 46/47] x86, PCI: Add arch version pci_root_rescan() | Date | Sun, 18 Mar 2012 22:46:35 -0700 |
| |
It will call acpi version pci_root_rescan and legacy pci_root_rescan.
Signed-off-by: Yinghai Lu <yinghai@kernel.org> --- arch/x86/pci/common.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/arch/x86/pci/common.c b/arch/x86/pci/common.c index 2ebdc231..0ec860f 100644 --- a/arch/x86/pci/common.c +++ b/arch/x86/pci/common.c @@ -10,6 +10,7 @@ #include <linux/init.h> #include <linux/dmi.h> #include <linux/slab.h> +#include <linux/pci-acpi.h> #include <asm/acpi.h> #include <asm/segment.h> @@ -661,6 +662,12 @@ struct pci_bus * __devinit pci_scan_bus_with_sysdata(int busno) return pci_scan_bus_on_node(busno, &pci_root_ops, -1); } +void arch_pci_root_rescan(void) +{ + acpi_pci_root_rescan(); + pcibios_root_rescan(); +} + /* * NUMA info for PCI busses * -- 1.7.7
| |