]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: pciehp: Drop enable/disable lock
authorLukas Wunner <lukas@wunner.de>
Thu, 19 Jul 2018 22:27:46 +0000 (17:27 -0500)
committerBjorn Helgaas <helgaas@kernel.org>
Mon, 23 Jul 2018 22:04:15 +0000 (17:04 -0500)
commitf0c1492ea658b3dbf8daf96d2c4a29783101c141
tree949a72be5647e6bec3daf6fa9b5e1799ce24993e
parent86dd1378c76767926c5d196d57188bca70373bd6
PCI: pciehp: Drop enable/disable lock

Previously slot enablement and disablement could happen concurrently.
But now it's under the exclusive control of the IRQ thread, rendering
the locking obsolete.  Drop it.

Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/pciehp.h
drivers/pci/hotplug/pciehp_ctrl.c
drivers/pci/hotplug/pciehp_hpc.c