summaryrefslogtreecommitdiff
path: root/source/components/parser/psxface.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/components/parser/psxface.c')
-rw-r--r--source/components/parser/psxface.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/components/parser/psxface.c b/source/components/parser/psxface.c
index c85f0e939f33..58c1ce82f116 100644
--- a/source/components/parser/psxface.c
+++ b/source/components/parser/psxface.c
@@ -334,6 +334,18 @@ AcpiPsExecuteTable (
WalkState->ParseFlags |= ACPI_PARSE_MODULE_LEVEL;
}
+ /* Info->Node is the default location to load the table */
+
+ if (Info->Node && Info->Node != AcpiGbl_RootNode)
+ {
+ Status = AcpiDsScopeStackPush (
+ Info->Node, ACPI_TYPE_METHOD, WalkState);
+ if (ACPI_FAILURE (Status))
+ {
+ goto Cleanup;
+ }
+ }
+
/*
* Parse the AML, WalkState will be deleted by ParseAml
*/