ACPI: Optimize acpi_get_pci_rootbridge_handle() to boot faster
authorJustin Chen <justin.chen@hp.com>
Wed, 6 Dec 2006 17:17:10 +0000 (10:17 -0700)
committerLen Brown <len.brown@intel.com>
Tue, 16 Jan 2007 21:41:56 +0000 (16:41 -0500)
commitd91a0078476ca536d76419f3b53196873b2931bc
treedc79451e8c7a9518386ace82e35b07bb26fda1df
parenta8b3485287731978899ced11f24628c927890e78
ACPI: Optimize acpi_get_pci_rootbridge_handle() to boot faster

Move acpi_get_pci_rootbridge_handle() from glue.c to pci_root.c and get the
root bridge ACPI handles by searching the &acpi_pci_roots list instead of
walking through the ACPI name space.  This significantly reduces boot time
on large I/O systems.

Signed-off-by: Justin Chen <justin.chen@hp.com>
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/glue.c
drivers/acpi/pci_root.c