diff options
| author | Jung-uk Kim <jkim@FreeBSD.org> | 2015-06-16 19:48:16 +0000 | 
|---|---|---|
| committer | Jung-uk Kim <jkim@FreeBSD.org> | 2015-06-16 19:48:16 +0000 | 
| commit | 8811b910b092027f905013bced1da3e87c6b07b9 (patch) | |
| tree | b0c56a23f2d8877b9431deb3cab73df3c1913fb7 /source/components/utilities/utcache.c | |
| parent | 0c85196b0c51b4e5eba8fcace026f947f9112c9e (diff) | |
Notes
Diffstat (limited to 'source/components/utilities/utcache.c')
| -rw-r--r-- | source/components/utilities/utcache.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/source/components/utilities/utcache.c b/source/components/utilities/utcache.c index c2211cc2adb9..7a0f210dff6a 100644 --- a/source/components/utilities/utcache.c +++ b/source/components/utilities/utcache.c @@ -92,7 +92,7 @@ AcpiOsCreateCache (      /* Populate the cache object and return it */ -    ACPI_MEMSET (Cache, 0, sizeof (ACPI_MEMORY_LIST)); +    memset (Cache, 0, sizeof (ACPI_MEMORY_LIST));      Cache->ListName   = CacheName;      Cache->ObjectSize = ObjectSize;      Cache->MaxDepth   = MaxDepth; @@ -242,7 +242,7 @@ AcpiOsReleaseObject (          /* Mark the object as cached */ -        ACPI_MEMSET (Object, 0xCA, Cache->ObjectSize); +        memset (Object, 0xCA, Cache->ObjectSize);          ACPI_SET_DESCRIPTOR_TYPE (Object, ACPI_DESC_TYPE_CACHED);          /* Put the object at the head of the cache list */ @@ -318,7 +318,7 @@ AcpiOsAcquireObject (          /* Clear (zero) the previously used Object */ -        ACPI_MEMSET (Object, 0, Cache->ObjectSize); +        memset (Object, 0, Cache->ObjectSize);      }      else      {  | 
