commit | c4ec84c7db0e4b01ed40cc2388f16ae5c6513cc0 | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Tue Jan 14 12:03:14 2014 -0700 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Tue Jan 14 12:14:25 2014 -0700 |
tree | b280cdcdbf714b6709e8d87a0d157f4979cb73d7 | |
parent | 5ef68e8867ca9d979644d05c6045b2c79d8989de [diff] |
PCI: hotplug: Use global PCI rescan-remove locking Multiple race conditions are possible between PCI hotplug and the generic PCI bus rescan and device removal that can be triggered via sysfs. To avoid those race conditions make PCI hotplug use global PCI rescan-remove locking. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>