diff options
author | Yinghai Lu <[email protected]> | 2013-03-11 05:05:16 +0000 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2013-03-27 00:06:07 +0100 |
commit | b8b6611048b7b57b86fbdc9153649ad4dc52135f (patch) | |
tree | 2adc11ba6eed981f46dafb5aabb00a1e68425f07 /tools/perf/util/trace-event-scripting.c | |
parent | aaf9d93be71c68558c25b4052ac979ee6b7eb809 (diff) |
PCI / ACPI: hold acpi_scan_lock during root bus hotplug
During merging the PCI tree with the PM/ACPI tree, Linus noticed
that we don't use the same lock using patten about ACPI PCI root as
acpiphp.
Here apply the same locking patten, and we need to execute
acpi_bus_hot_remove_device() via acpi_os_hotplug_execute()
as it also holds acpi_scan_lock.
[rjw: Changelog]
Reported-by: Linus Torvalds <[email protected]>
Signed-off-by: Yinghai Lu <[email protected]>
No-objection-from: Bjorn Helgaas <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions