diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2024-11-25 13:40:45 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2024-11-25 13:40:45 -0600 |
commit | 5d756f3fa82ff907d875b57e194bb89beff63c4b (patch) | |
tree | 57a3be6ac889fa75b74dc5412db751623964f4ab /include | |
parent | 665e4a3456d467e739a0879139114930397726eb (diff) | |
parent | 38a18dfe9035d5a02a53271824de1854129c61dc (diff) | |
download | lwn-5d756f3fa82ff907d875b57e194bb89beff63c4b.tar.gz lwn-5d756f3fa82ff907d875b57e194bb89beff63c4b.zip |
Merge branch 'pci/locking'
- Make pci_stop_dev() and pci_destroy_dev() concurrent safe (Keith Busch)
- Move __pci_walk_bus() mutex up into the caller, which avoids the need for
a parameter to control locking (Keith Busch)
- Simplify __pci_walk_bus() by making it recursive (Keith Busch)
- Unexport pci_walk_bus_locked(), which is only used internally by the PCI
core (Keith Busch)
* pci/locking:
PCI: Unexport pci_walk_bus_locked()
PCI: Convert __pci_walk_bus() to be recursive
PCI: Move __pci_walk_bus() mutex to where we need it
PCI: Make pci_destroy_dev() concurrent safe
PCI: Make pci_stop_dev() concurrent safe
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/pci.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index e424a45555b9..e41032dd12a5 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -1612,8 +1612,6 @@ int pci_scan_bridge(struct pci_bus *bus, struct pci_dev *dev, int max, void pci_walk_bus(struct pci_bus *top, int (*cb)(struct pci_dev *, void *), void *userdata); -void pci_walk_bus_locked(struct pci_bus *top, int (*cb)(struct pci_dev *, void *), - void *userdata); int pci_cfg_space_size(struct pci_dev *dev); unsigned char pci_bus_max_busnr(struct pci_bus *bus); void pci_setup_bridge(struct pci_bus *bus); |