Chen, Justin 2f000f5c15 ACPI: optimize pci_rootbridge search
acpi_get_pci_rootbridge_handle() walks the ACPI name space
searching for seg, bus and the PCI_ROOT_HID_STRING --
returning the handle as soon as if find the match.

But the current codes always parses through the whole namespace because
the user_function find_pci_rootbridge() returns status=AE_OK when it finds the match.

Make the find_pci_rootbridge() return AE_CTRL_TERMINATE when it finds the match.
This reduces the ACPI namespace walk for acpi_get_pci_rootbridge_handle().

Signed-off-by: Justin Chen <justin.chen@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2006-10-27 02:31:16 -04:00
..
2006-07-09 15:15:40 -04:00
2006-07-09 15:15:40 -04:00
2006-07-10 02:37:22 -04:00
2006-06-14 02:44:35 -04:00
2006-10-14 01:59:46 -04:00
2006-08-15 23:16:43 -04:00
2006-10-10 15:37:22 -07:00
2006-10-27 01:47:34 -04:00
2006-10-27 02:31:16 -04:00
2006-07-01 16:36:14 -04:00
2006-10-03 22:24:43 +02:00
2006-07-09 17:22:28 -04:00
2005-08-05 00:45:14 -04:00