summaryrefslogtreecommitdiff
path: root/source/components/events/evrgnini.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/components/events/evrgnini.c')
-rw-r--r--source/components/events/evrgnini.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/components/events/evrgnini.c b/source/components/events/evrgnini.c
index 7880d04b7..2e6315c3f 100644
--- a/source/components/events/evrgnini.c
+++ b/source/components/events/evrgnini.c
@@ -690,7 +690,8 @@ AcpiEvInitializeRegion (
*
* See AcpiNsExecModuleCode
*/
- if (ObjDesc->Method.InfoFlags & ACPI_METHOD_MODULE_LEVEL)
+ if (!AcpiGbl_ParseTableAsTermList &&
+ ObjDesc->Method.InfoFlags & ACPI_METHOD_MODULE_LEVEL)
{
HandlerObj = ObjDesc->Method.Dispatch.Handler;
}