diff options
author | Keith Busch <[email protected]> | 2024-10-22 15:48:49 -0700 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2024-11-11 13:06:02 -0600 |
commit | 4d6dcd6c2fa3a80898651d323c150e5ebc03881d (patch) | |
tree | a08d659a8666bcab1f678c68715f60b5e0426933 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | e3f30d563a388220a7c4e3b9a7b52ac0b0324b26 (diff) |
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/[email protected]
Signed-off-by: Keith Busch <[email protected]>
[bhelgaas: commit log]
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Reviewed-by: Davidlohr Bueso <[email protected]>
Reviewed-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions