]> 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)
commit56c7542eae2cd763315285f3f882678097a309cf
tree949a72be5647e6bec3daf6fa9b5e1799ce24993e
parent2ea5982548b508681d1295830ed81a05d64dbdc5
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