diff options
| author | Jung-uk Kim <jkim@FreeBSD.org> | 2016-02-12 18:53:29 +0000 |
|---|---|---|
| committer | Jung-uk Kim <jkim@FreeBSD.org> | 2016-02-12 18:53:29 +0000 |
| commit | 67ac2c42d552618270f8ba5431d63944a35a0ee7 (patch) | |
| tree | 5c13158cdf7d0b9ff31cb1f23b72fa64440df238 /source/compiler/aslxref.c | |
| parent | 176870a6cad869aa9bbb6b7906be146cc651c359 (diff) | |
Notes
Diffstat (limited to 'source/compiler/aslxref.c')
| -rw-r--r-- | source/compiler/aslxref.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/source/compiler/aslxref.c b/source/compiler/aslxref.c index 74038d9afa9fb..a2cb6b3324015 100644 --- a/source/compiler/aslxref.c +++ b/source/compiler/aslxref.c @@ -133,8 +133,6 @@ XfCrossReferenceNamespace ( ACPI_WALK_STATE *WalkState; - DbgPrint (ASL_DEBUG_OUTPUT, "\nCross referencing namespace\n\n"); - /* * Create a new walk state for use when looking up names * within the namespace (Passed as context to the callbacks) @@ -147,8 +145,8 @@ XfCrossReferenceNamespace ( /* Walk the entire parse tree */ - TrWalkParseTree (RootNode, ASL_WALK_VISIT_TWICE, XfNamespaceLocateBegin, - XfNamespaceLocateEnd, WalkState); + TrWalkParseTree (Gbl_ParseTreeRoot, ASL_WALK_VISIT_TWICE, + XfNamespaceLocateBegin, XfNamespaceLocateEnd, WalkState); ACPI_FREE (WalkState); return (AE_OK); @@ -880,7 +878,8 @@ XfNamespaceLocateBegin ( NextOp = NextOp->Asl.Next; } - if (Node->Value != ASL_EXTERNAL_METHOD) + if (Node->Value != ASL_EXTERNAL_METHOD && + Op->Asl.Parent->Asl.ParseOpcode != PARSEOP_EXTERNAL) { /* * Check the parsed arguments with the number expected by the |
