From: Rafael J. Wysocki Date: Mon, 10 Feb 2014 12:36:26 +0000 (+0100) Subject: ACPI / hotplug / PCI: Execute _EJ0 under the ACPI scan lock X-Git-Tag: v3.15-rc1~151^2~14^2~3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21369c77477a7f937174833c8094154f0f995710;p=pandora-kernel.git ACPI / hotplug / PCI: Execute _EJ0 under the ACPI scan lock Since acpi_device_hotplug() assumes that ACPI handles of device objects passed to it will not become invalid while acpi_scan_lock is being held, make acpiphp_disable_slot() acquire acpi_scan_lock, because it generally causes _EJ0 to be executed for one of the devices in the slot and that may cause its ACPI handle to become invalid. Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed