Skip to contentSkip to conversation

acpi: do not abort method execution if asked to release not acquired mutex

PATCH In review [email protected] 1 participant 1 message Jul 7, 2006 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 3/5 acpi: do not abort method execution if asked to release not acquired mutex

From: Alexey Starikovskiy <[email protected]>

See http://bugme.osdl.org/show_bug.cgi?id=6687
Closes: #50088

patch location:
http://www.kernel.org/git/?p=linux/kernel/git/bcollins/ubuntu-dapper.git;a=commitdiff;h=202ddb5b6498af53e110f78edd41a217587c1ffb

---

 drivers/acpi/executer/exmutex.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/executer/exmutex.c renamed from drivers/acpi/executer/exmutex.c~acpi-do-not-abort-method-execution-if-asked-to-release +1 -1
diff -puN drivers/acpi/executer/exmutex.c~acpi-do-not-abort-method-execution-if-asked-to-release drivers/acpi/executer/exmutex.c
@@ -246,7 +246,7 @@ acpi_ex_release_mutex(union acpi_operand
 		ACPI_ERROR((AE_INFO,
 			    "Cannot release Mutex [%4.4s], not acquired",
 			    acpi_ut_get_node_name(obj_desc->mutex.node)));
-		return_ACPI_STATUS(AE_AML_MUTEX_NOT_ACQUIRED);
+		return_ACPI_STATUS(AE_OK);
 	}
 
 	/* Sanity check -- we must have a valid thread ID */

_