提交 73ca0fbc 编写于 作者: B Bob Moore 提交者: Len Brown

ACPICA: Fix for Global Lock semaphore.

Fixed a problem with the Global Lock where the lock could appear to be obtained before it is actually obtained, semaphore created with one unit.
Signed-off-by: NAlexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: NLen Brown <len.brown@intel.com>
上级 14d64b5e
......@@ -214,7 +214,7 @@ acpi_status acpi_ns_root_initialize(void)
/* Create additional counting semaphore for global lock */
status =
acpi_os_create_semaphore(1, 1,
acpi_os_create_semaphore(1, 0,
&acpi_gbl_global_lock_semaphore);
if (ACPI_FAILURE(status)) {
acpi_ut_remove_reference
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册