diff options
author | Mike Smith <msmith@FreeBSD.org> | 2001-07-21 03:55:17 +0000 |
---|---|---|
committer | Mike Smith <msmith@FreeBSD.org> | 2001-07-21 03:55:17 +0000 |
commit | 9d5c013ca4e5dbd28bd8af000fb72649e20b08ec (patch) | |
tree | ace3ff94f32745a26e8a131379a4320fd8795556 /sys/contrib/dev/acpica/utmisc.c | |
parent | 2e5c56cb6b4128c20342c3912bb3e8eb095c663f (diff) | |
download | src-9d5c013ca4e5dbd28bd8af000fb72649e20b08ec.tar.gz src-9d5c013ca4e5dbd28bd8af000fb72649e20b08ec.zip |
Vendor import of the Intel ACPI CA 20010717 snapshot.
Notes
Notes:
svn path=/vendor-sys/acpica/dist/; revision=80062
Diffstat (limited to 'sys/contrib/dev/acpica/utmisc.c')
-rw-r--r-- | sys/contrib/dev/acpica/utmisc.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sys/contrib/dev/acpica/utmisc.c b/sys/contrib/dev/acpica/utmisc.c index f5d4b42b71d0..d1f43c88f8e0 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--; } |