summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorTaku Izumi <izumi.taku@jp.fujitsu.com>2012-09-18 15:23:23 +0900
committerBjorn Helgaas <bhelgaas@google.com>2012-09-24 15:29:40 -0600
commitcd4faf9c34b27cbb6bcc70a4f1d1759f2e6fa7fd (patch)
treee33941ddbff56873ef29e33ec090289a06c84e96 /drivers/pci
parent6507e6ebebd2d5f7e17c6f2e32524270edd2a922 (diff)
downloadop-kernel-dev-cd4faf9c34b27cbb6bcc70a4f1d1759f2e6fa7fd.zip
op-kernel-dev-cd4faf9c34b27cbb6bcc70a4f1d1759f2e6fa7fd.tar.gz
PCI/ACPI: Use acpi_driver_data() rather than searching acpi_pci_roots
This patch changes the implementation of acpi_pci_find_root(). We can access acpi_pci_root without scanning acpi_pci_roots list. If hostbridge hotplug is supported, acpi_pci_roots list will be protected by mutex. We should not access acpi_pci_roots list if preventable to lessen deadlock risk. Signed-off-by: Taku Izumi <izumi.taku@jp.fujitsu.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud