diff options
author | 2014-02-04 18:31:11 -0800 | |
---|---|---|
committer | 2014-02-11 16:13:16 -0700 | |
commit | 50b52fdee050745935d92e7026373edea2647e60 (patch) | |
tree | 0739f5a0135b070c7626542ffd593074341d950b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | PCI: pciehp: Ensure very fast hotplug events are also processed (diff) | |
download | wireguard-linux-50b52fdee050745935d92e7026373edea2647e60.tar.xz wireguard-linux-50b52fdee050745935d92e7026373edea2647e60.zip |
PCI: pciehp: Add hotplug_lock to serialize hotplug events
Today it is there is no protection around pciehp_enable_slot() and
pciehp_disable_slot() to ensure that they complete before another
hot-plug operation can be done on that particular slot.
This patch introduces the slot->hotplug_lock to ensure that any hotplug
operations (add / remove) complete before another hotplug event can begin
processing on that particular slot.
Signed-off-by: Rajat Jain <rajatxjain@gmail.com>
Signed-off-by: Rajat Jain <rajatjain@juniper.net>
Signed-off-by: Guenter Roeck <groeck@juniper.net>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions