1
0
Files
linux/drivers/pci
Rafael J. Wysocki ff181e5a4f ACPI / hotplug / PCI: Clean up bridge_mutex usage
Do not acquire bridge_mutex around the addition of a slot to its
bridge's list of slots and arount the addition of a function to
its slot's list of functions, because that doesn't help anything
right now (those lists are walked without any locking anyway).

However, acquire bridge_mutex around the list walk in
acpiphp_remove_slots() and use list_for_each_entry() there,
because we terminate the walk as soon as we find the first matching
entry.  This prevents that list walk from colliding with bridge
addition and removal.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Mika Westerberg <mika.westerberg@linux.intel.com>
2013-07-23 04:00:28 +02:00
..
2013-06-26 21:10:05 +02:00
2013-06-26 21:10:05 +02:00
2013-06-29 12:57:48 +04:00
2013-06-26 15:55:52 -06:00
2013-04-15 10:56:27 -06:00