]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PCI Hotplug: serialize pci_hp_register and pci_hp_deregister
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Mon, 1 Dec 2008 20:09:24 +0000 (13:09 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 5 Dec 2008 18:55:16 +0000 (10:55 -0800)
commit2dbfebcde1a29b906e4c922ddbf472a84c36cbb4
treeae029ad47343c9e66b39d8d139c4a0e853a221a3
parent7701e9a5cadf9ca09d7f51a7c8e4bc7bb7695839
PCI Hotplug: serialize pci_hp_register and pci_hp_deregister

commit 95cb9093960b6249fdbe7417bf513a1358aaa51a upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/pci_hotplug_core.c