diff options
| author | Bjorn Helgaas <bhelgaas@google.com> | 2014-01-15 12:53:23 -0500 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-01-15 12:53:23 -0500 |
| commit | 40304618468cae5259f77c15511e4feb7bfb624b (patch) | |
| tree | 19666e52586c98484a3bf8f1b19c28103feb9006 /include | |
| parent | 1255dfbb0c77c7a26fec10a5c101b075c3641965 (diff) | |
| parent | 8a4c5c329de716996eea03d93753ccbb5406072b (diff) | |
Merge branch 'pci/locking' into next
* pci/locking:
PCI: Check parent kobject in pci_destroy_dev()
xen/pcifront: Use global PCI rescan-remove locking
powerpc/eeh: Use global PCI rescan-remove locking
MPT / PCI: Use pci_stop_and_remove_bus_device_locked()
platform / x86: Use global PCI rescan-remove locking
PCI: hotplug: Use global PCI rescan-remove locking
pcmcia: Use global PCI rescan-remove locking
ACPI / hotplug / PCI: Use global PCI rescan-remove locking
ACPI / PCI: Use global PCI rescan-remove locking in PCI root hotplug
PCI: Add global pci_lock_rescan_remove()
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/pci.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 9e3ec8b951b7..2087e6b35545 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
| @@ -775,6 +775,7 @@ struct pci_dev *pci_dev_get(struct pci_dev *dev); | |||
| 775 | void pci_dev_put(struct pci_dev *dev); | 775 | void pci_dev_put(struct pci_dev *dev); |
| 776 | void pci_remove_bus(struct pci_bus *b); | 776 | void pci_remove_bus(struct pci_bus *b); |
| 777 | void pci_stop_and_remove_bus_device(struct pci_dev *dev); | 777 | void pci_stop_and_remove_bus_device(struct pci_dev *dev); |
| 778 | void pci_stop_and_remove_bus_device_locked(struct pci_dev *dev); | ||
| 778 | void pci_stop_root_bus(struct pci_bus *bus); | 779 | void pci_stop_root_bus(struct pci_bus *bus); |
| 779 | void pci_remove_root_bus(struct pci_bus *bus); | 780 | void pci_remove_root_bus(struct pci_bus *bus); |
| 780 | void pci_setup_cardbus(struct pci_bus *bus); | 781 | void pci_setup_cardbus(struct pci_bus *bus); |
| @@ -1011,6 +1012,8 @@ void set_pcie_hotplug_bridge(struct pci_dev *pdev); | |||
| 1011 | int pci_bus_find_capability(struct pci_bus *bus, unsigned int devfn, int cap); | 1012 | int pci_bus_find_capability(struct pci_bus *bus, unsigned int devfn, int cap); |
| 1012 | unsigned int pci_rescan_bus_bridge_resize(struct pci_dev *bridge); | 1013 | unsigned int pci_rescan_bus_bridge_resize(struct pci_dev *bridge); |
| 1013 | unsigned int pci_rescan_bus(struct pci_bus *bus); | 1014 | unsigned int pci_rescan_bus(struct pci_bus *bus); |
| 1015 | void pci_lock_rescan_remove(void); | ||
| 1016 | void pci_unlock_rescan_remove(void); | ||
| 1014 | 1017 | ||
| 1015 | /* Vital product data routines */ | 1018 | /* Vital product data routines */ |
| 1016 | ssize_t pci_read_vpd(struct pci_dev *dev, loff_t pos, size_t count, void *buf); | 1019 | ssize_t pci_read_vpd(struct pci_dev *dev, loff_t pos, size_t count, void *buf); |
