From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from rcsinet15.oracle.com ([148.87.113.117]:39483 "EHLO rcsinet15.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932684Ab2CJHDX (ORCPT ); Sat, 10 Mar 2012 02:03:23 -0500 From: Yinghai Lu To: Jesse Barnes , x86 Cc: Bjorn Helgaas , Andrew Morton , Linus Torvalds , Greg Kroah-Hartman , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Yinghai Lu Subject: [PATCH v2 34/37] x86, PCI: Add arch version pci_root_rescan() Date: Fri, 9 Mar 2012 23:00:34 -0800 Message-Id: <1331362837-10740-35-git-send-email-yinghai@kernel.org> In-Reply-To: <1331362837-10740-1-git-send-email-yinghai@kernel.org> References: <1331362837-10740-1-git-send-email-yinghai@kernel.org> Sender: linux-pci-owner@vger.kernel.org List-ID: It will call acpi version pci_root_rescan and legacy pci_root_rescan. Signed-off-by: Yinghai Lu --- 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 #include #include +#include #include #include @@ -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