PCI Hotplug: serialize pci_hp_register and pci_hp_deregister
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Mon, 20 Oct 2008 23:40:57 +0000 (17:40 -0600)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 22 Oct 2008 23:42:38 +0000 (16:42 -0700)
commit95cb9093960b6249fdbe7417bf513a1358aaa51a
tree8cfe1c98235ff947685940b328e73c39809751fe
parent828f37683e6d3ab5912989df0d04201db7ad798e
PCI Hotplug: serialize pci_hp_register and pci_hp_deregister

Convert the pci_hotplug_slot_list_lock, which only protected the
list of hotplug slots, to a pci_hp_mutex which now protects both
interfaces.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/hotplug/pci_hotplug_core.c