summaryrefslogtreecommitdiffstats
path: root/include/acpi
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-01-27 21:17:29 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-01-27 21:17:29 +0100
commitc511cc1990bbc263c3f8a2ef4d7d613a3b40ffe2 (patch)
tree4919ff638fa0606267deec1d225fed199afb11e5 /include/acpi
parentbfee26dba0f373ebe4e6f0b293d078b02f9f7f69 (diff)
downloadop-kernel-dev-c511cc1990bbc263c3f8a2ef4d7d613a3b40ffe2.zip
op-kernel-dev-c511cc1990bbc263c3f8a2ef4d7d613a3b40ffe2.tar.gz
ACPI / scan: Make namespace scanning and trimming mutually exclusive
There is no guarantee that acpi_bus_scan() and acpi_bus_trim() will not be run in parallel for the same scope of the ACPI namespace, which may lead to a great deal of confusion, so introduce a new mutex to prevent that from happening. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Yinghai Lu <yinghai@kernel.org>
Diffstat (limited to 'include/acpi')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud