aboutsummaryrefslogtreecommitdiffstats
path: root/source/compiler/aslload.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2020-07-17 22:53:36 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2020-07-17 22:53:36 +0000
commitb1dc29fa09052190e87f93cf1888edea9c42df24 (patch)
treebc4012660993f740d685e5655598353a450706ec /source/compiler/aslload.c
parent93207c1c89bcf8c2291abed617712292c27920f3 (diff)
downloadsrc-b1dc29fa09052190e87f93cf1888edea9c42df24.tar.gz
src-b1dc29fa09052190e87f93cf1888edea9c42df24.zip
Import ACPICA 20200717.vendor/acpica/20200717
Notes
Notes: svn path=/vendor-sys/acpica/dist/; revision=363292 svn path=/vendor-sys/acpica/20200717/; revision=363293; tag=vendor/acpica/20200717
Diffstat (limited to 'source/compiler/aslload.c')
-rw-r--r--source/compiler/aslload.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/compiler/aslload.c b/source/compiler/aslload.c
index bdc0d805e678..454fa8f5f0db 100644
--- a/source/compiler/aslload.c
+++ b/source/compiler/aslload.c
@@ -1177,13 +1177,13 @@ LdAnalyzeExternals (
* previously declared External
*/
Node->Flags &= ~ANOBJ_IS_EXTERNAL;
- Node->Type = (UINT8) ExternalOpType;
+ Node->Type = (UINT8) ActualOpType;
/* Just retyped a node, probably will need to open a scope */
- if (AcpiNsOpensScope (ExternalOpType))
+ if (AcpiNsOpensScope (ActualOpType))
{
- Status = AcpiDsScopeStackPush (Node, ExternalOpType, WalkState);
+ Status = AcpiDsScopeStackPush (Node, ActualOpType, WalkState);
if (ACPI_FAILURE (Status))
{
return (Status);
@@ -1204,11 +1204,11 @@ LdAnalyzeExternals (
}
else if ((Node->Flags & ANOBJ_IS_EXTERNAL) &&
(Op->Asl.ParseOpcode == PARSEOP_EXTERNAL) &&
- (ExternalOpType == ACPI_TYPE_ANY))
+ (ActualOpType == ACPI_TYPE_ANY))
{
/* Allow update of externals of unknown type. */
- Node->Type = (UINT8) ExternalOpType;
+ Node->Type = (UINT8) ActualExternalOpType;
Status = AE_OK;
}