summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Moore <Robert.Moore@intel.com>2012-09-28 09:55:43 -0700
committerRobert Moore <Robert.Moore@intel.com>2012-09-28 09:55:43 -0700
commit8806b15e5e568a184641738bccb9ed1c44435198 (patch)
tree6f2ad07763806d4266255bd564cf58cf864acdb3
parent8ab2f175bf94f1068bf4830166e66953fa645cdd (diff)
downloadacpica-8806b15e5e568a184641738bccb9ed1c44435198.tar.gz
Add debug print message for mutex objects that are force-released.
At control method termination, any currently acquired mutex objects are force-released. Add a new message for each one that is released.
-rw-r--r--source/components/executer/exmutex.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/components/executer/exmutex.c b/source/components/executer/exmutex.c
index c576ced10..c7be3e423 100644
--- a/source/components/executer/exmutex.c
+++ b/source/components/executer/exmutex.c
@@ -586,7 +586,7 @@ AcpiExReleaseAllMutexes (
ACPI_OPERAND_OBJECT *ObjDesc;
- ACPI_FUNCTION_ENTRY ();
+ ACPI_FUNCTION_NAME (ExReleaseAllMutexes);
/* Traverse the list of owned mutexes, releasing each one */
@@ -600,6 +600,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)