diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-02-10 13:36:26 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-02-10 13:36:26 +0100 |
commit | 21369c77477a7f937174833c8094154f0f995710 (patch) | |
tree | f7919580a770be3dbe3bf388f4237cb4e1b2ecd2 /tools/perf/scripts/python | |
parent | b169ba5ae49a810876f3baa5da5283e95c836527 (diff) |
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 <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions