diff options
author | Bob Moore <robert.moore@intel.com> | 2007-02-02 11:48:21 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-02-02 21:14:26 -0500 |
commit | 73ca0fbcc25a6080db4136f55dbcd5fe7b33398f (patch) | |
tree | c68807f4171d7701f07c647fd2cf376109cc7f9a /drivers/acpi/namespace | |
parent | 14d64b5e36a82ef21a51d8a15639d26b75a79499 (diff) |
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: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/namespace')
-rw-r--r-- | drivers/acpi/namespace/nsaccess.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/namespace/nsaccess.c b/drivers/acpi/namespace/nsaccess.c index b2ef6730be8..2529ae9f7ce 100644 --- a/drivers/acpi/namespace/nsaccess.c +++ b/drivers/acpi/namespace/nsaccess.c | |||
@@ -214,7 +214,7 @@ acpi_status acpi_ns_root_initialize(void) | |||
214 | /* Create additional counting semaphore for global lock */ | 214 | /* Create additional counting semaphore for global lock */ |
215 | 215 | ||
216 | status = | 216 | status = |
217 | acpi_os_create_semaphore(1, 1, | 217 | acpi_os_create_semaphore(1, 0, |
218 | &acpi_gbl_global_lock_semaphore); | 218 | &acpi_gbl_global_lock_semaphore); |
219 | if (ACPI_FAILURE(status)) { | 219 | if (ACPI_FAILURE(status)) { |
220 | acpi_ut_remove_reference | 220 | acpi_ut_remove_reference |