summaryrefslogtreecommitdiffstats
path: root/sys/contrib/dev/acpica/utmisc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/contrib/dev/acpica/utmisc.c')
-rw-r--r--sys/contrib/dev/acpica/utmisc.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/sys/contrib/dev/acpica/utmisc.c b/sys/contrib/dev/acpica/utmisc.c
index f5d4b42..d1f43c8 100644
--- a/sys/contrib/dev/acpica/utmisc.c
+++ b/sys/contrib/dev/acpica/utmisc.c
@@ -1,7 +1,7 @@
/*******************************************************************************
*
* Module Name: utmisc - common utility procedures
- * $Revision: 42 $
+ * $Revision: 44 $
*
******************************************************************************/
@@ -452,7 +452,7 @@ AcpiUtAcquireMutex (
{
DEBUG_PRINTP (ACPI_ERROR, ("Thread %X could not acquire Mutex [%s] %s\n",
ThisThreadId, AcpiUtGetMutexName (MutexId),
- AcpiUtFormatException (Status)));
+ AcpiFormatException (Status)));
}
return (Status);
@@ -541,7 +541,7 @@ AcpiUtReleaseMutex (
{
DEBUG_PRINTP (ACPI_ERROR, ("Thread %X could not release Mutex [%s] %s\n",
ThisThreadId, AcpiUtGetMutexName (MutexId),
- AcpiUtFormatException (Status)));
+ AcpiFormatException (Status)));
}
else
{
@@ -743,7 +743,7 @@ AcpiUtCreateGenericState (void)
AcpiUtReleaseMutex (ACPI_MTX_CACHES);
- State = AcpiUtCallocate (sizeof (ACPI_GENERIC_STATE));
+ State = ACPI_MEM_CALLOCATE (sizeof (ACPI_GENERIC_STATE));
}
/* Initialize */
@@ -915,7 +915,7 @@ AcpiUtDeleteGenericState (
if (AcpiGbl_GenericStateCacheDepth >= MAX_STATE_CACHE_DEPTH)
{
- AcpiUtFree (State);
+ ACPI_MEM_FREE (State);
}
/* Otherwise put this object back into the cache */
@@ -972,7 +972,8 @@ AcpiUtDeleteGenericStateCache (
/* Delete one cached state object */
Next = AcpiGbl_GenericStateCache->Common.Next;
- AcpiUtFree (AcpiGbl_GenericStateCache);
+ ACPI_MEM_FREE (AcpiGbl_GenericStateCache);
+
AcpiGbl_GenericStateCache = Next;
AcpiGbl_GenericStateCacheDepth--;
}
OpenPOWER on IntegriCloud