From: Yinghai Lu Date: Mon, 11 Mar 2013 05:05:16 +0000 (+0000) Subject: PCI / ACPI: hold acpi_scan_lock during root bus hotplug X-Git-Tag: v3.9-rc5~17^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8b6611048b7b57b86fbdc9153649ad4dc52135f;p=pandora-kernel.git 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 Signed-off-by: Yinghai Lu No-objection-from: Bjorn Helgaas Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed