summaryrefslogtreecommitdiff
path: root/source/compiler/dtcompile.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2017-09-29 17:08:30 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2017-09-29 17:08:30 +0000
commit2c673001fb88105f2d160032c4d4b76cb518e37f (patch)
tree3fc3b6aef8822267bd455907a6fce55c3f98b2ed /source/compiler/dtcompile.c
parent0810e26699e1b40b9384eca2137be6155de0a5ba (diff)
Notes
Diffstat (limited to 'source/compiler/dtcompile.c')
-rw-r--r--source/compiler/dtcompile.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/source/compiler/dtcompile.c b/source/compiler/dtcompile.c
index 5344562433c2..0823196feb1c 100644
--- a/source/compiler/dtcompile.c
+++ b/source/compiler/dtcompile.c
@@ -152,7 +152,6 @@
#define _DECLARE_DT_GLOBALS
#include "aslcompiler.h"
-#include "dtcompiler.h"
#define _COMPONENT DT_COMPILER
ACPI_MODULE_NAME ("dtcompile")
@@ -281,7 +280,6 @@ DtDoCompile (
CleanupAndExit:
AcpiUtDeleteCaches ();
- DtDeleteCaches ();
CmCleanupAndExit ();
return (Status);
}
@@ -412,7 +410,7 @@ DtCompileDataTable (
return (AE_ERROR);
}
- Gbl_Signature = UtStringCacheCalloc (strlen (Signature) + 1);
+ Gbl_Signature = UtLocalCacheCalloc (strlen (Signature) + 1);
strcpy (Gbl_Signature, Signature);
/*
@@ -585,7 +583,7 @@ DtCompileTable (
if (Length > 0)
{
- String = UtStringCacheCalloc (Length);
+ String = UtLocalCacheCalloc (Length);
Subtable->Buffer = ACPI_CAST_PTR (UINT8, String);
}
@@ -828,7 +826,7 @@ DtCompilePadding (
if (Length > 0)
{
- String = UtStringCacheCalloc (Length);
+ String = UtLocalCacheCalloc (Length);
Subtable->Buffer = ACPI_CAST_PTR (UINT8, String);
}