From 31aa864e8c068201d58aad3a8f82ddb51df11015 Mon Sep 17 00:00:00 2001 From: Jung-uk Kim Date: Fri, 19 Oct 2012 18:47:57 +0000 Subject: Import ACPICA 20121018. --- source/components/executer/exmutex.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'source/components/executer/exmutex.c') diff --git a/source/components/executer/exmutex.c b/source/components/executer/exmutex.c index 4c702b8baa6df..70ccfd075f047 100644 --- a/source/components/executer/exmutex.c +++ b/source/components/executer/exmutex.c @@ -1,4 +1,3 @@ - /****************************************************************************** * * Module Name: exmutex - ASL Mutex Acquire/Release functions @@ -341,7 +340,7 @@ AcpiExReleaseMutexObject ( if (ObjDesc->Mutex.AcquisitionDepth == 0) { - return (AE_NOT_ACQUIRED); + return_ACPI_STATUS (AE_NOT_ACQUIRED); } /* Match multiple Acquires with multiple Releases */ @@ -515,7 +514,7 @@ AcpiExReleaseAllMutexes ( ACPI_OPERAND_OBJECT *ObjDesc; - ACPI_FUNCTION_ENTRY (); + ACPI_FUNCTION_NAME (ExReleaseAllMutexes); /* Traverse the list of owned mutexes, releasing each one */ @@ -529,6 +528,9 @@ AcpiExReleaseAllMutexes ( ObjDesc->Mutex.Next = NULL; ObjDesc->Mutex.AcquisitionDepth = 0; + ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, + "Force-releasing held mutex: %p\n", ObjDesc)); + /* Release the mutex, special case for Global Lock */ if (ObjDesc == AcpiGbl_GlobalLockMutex) -- cgit v1.2.3