aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/dev/acpica/compiler/dtsubtable.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2017-09-29 23:02:49 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2017-09-29 23:02:49 +0000
commitc39c15e23f7155ec7ad56f993e9e454f513fa561 (patch)
treedc85d94fea926a660b87e0ed430fcd96489db2e8 /sys/contrib/dev/acpica/compiler/dtsubtable.c
parente8b437ef9acd737bfd18dc34562cce4e195e71b8 (diff)
parent2c673001fb88105f2d160032c4d4b76cb518e37f (diff)
Merge ACPICA 20170929.
Notes
Notes: svn path=/head/; revision=324109
Diffstat (limited to 'sys/contrib/dev/acpica/compiler/dtsubtable.c')
-rw-r--r--sys/contrib/dev/acpica/compiler/dtsubtable.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/contrib/dev/acpica/compiler/dtsubtable.c b/sys/contrib/dev/acpica/compiler/dtsubtable.c
index d75fa927a072..a258a61eb5ca 100644
--- a/sys/contrib/dev/acpica/compiler/dtsubtable.c
+++ b/sys/contrib/dev/acpica/compiler/dtsubtable.c
@@ -150,7 +150,6 @@
*****************************************************************************/
#include <contrib/dev/acpica/compiler/aslcompiler.h>
-#include <contrib/dev/acpica/compiler/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);