Files
linux/drivers
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-10-27 02:31:16 -04:00
…
2006-10-18 12:53:51 -07:00
…
2006-10-11 11:14:25 -07:00
2006-10-17 08:18:42 -07:00
2006-10-08 12:32:35 -07:00
2006-10-03 22:31:37 +02:00
2006-10-18 18:30:53 +02:00
2006-10-20 10:26:36 -07:00
…
2006-10-17 08:18:42 -07:00
2006-10-17 08:18:44 -07:00
2006-10-17 08:18:42 -07:00
2006-08-10 07:31:37 -04:00