From: Rafael J. Wysocki Date: Sun, 27 Jan 2013 20:17:29 +0000 (+0100) Subject: ACPI / scan: Make namespace scanning and trimming mutually exclusive X-Git-Tag: v3.9-rc1~146^2~12^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c511cc1990bbc263c3f8a2ef4d7d613a3b40ffe2;p=pandora-kernel.git 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 Acked-by: Yinghai Lu --- Reading git-diff-tree failed