summaryrefslogtreecommitdiff
path: root/source/compiler/dtsubtable.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/dtsubtable.c
parent0810e26699e1b40b9384eca2137be6155de0a5ba (diff)
Notes
Diffstat (limited to 'source/compiler/dtsubtable.c')
-rw-r--r--source/compiler/dtsubtable.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/compiler/dtsubtable.c b/source/compiler/dtsubtable.c
index 44e36492ffac..c7b85e908505 100644
--- a/source/compiler/dtsubtable.c
+++ b/source/compiler/dtsubtable.c
@@ -150,7 +150,6 @@
*****************************************************************************/
#include "aslcompiler.h"
-#include "dtcompiler.h"
#define _COMPONENT DT_COMPILER
ACPI_MODULE_NAME ("dtsubtable")
@@ -186,7 +185,7 @@ DtCreateSubtable (
/* Create a new buffer for the subtable data */
- String = UtStringCacheCalloc (Length);
+ String = UtLocalCacheCalloc (Length);
Subtable->Buffer = ACPI_CAST_PTR (UINT8, String);
memcpy (Subtable->Buffer, Buffer, Length);