diff options
author | Keith Busch <kbusch@kernel.org> | 2024-10-23 01:48:49 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2024-11-11 22:06:02 +0300 |
commit | 4d6dcd6c2fa3a80898651d323c150e5ebc03881d (patch) | |
tree | a08d659a8666bcab1f678c68715f60b5e0426933 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e3f30d563a388220a7c4e3b9a7b52ac0b0324b26 (diff) | |
download | linux-4d6dcd6c2fa3a80898651d323c150e5ebc03881d.tar.xz |
PCI: Move __pci_walk_bus() mutex to where we need it
Simplify __pci_walk_bus() by moving the pci_bus_sem mutex into
pci_walk_bus(), the only place it is needed, and removing the parameter
that told __pci_walk_bus() whether to acquire the mutex.
Link: https://lore.kernel.org/r/20241022224851.340648-4-kbusch@meta.com
Signed-off-by: Keith Busch <kbusch@kernel.org>
[bhelgaas: commit log]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Davidlohr Bueso <dave@stgolabs.net>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions