diff options
author | Robert Moore <Robert.Moore@intel.com> | 2023-02-07 10:24:19 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-07 10:24:19 -0800 |
commit | f0075506fdc9d1d086f817083129ae33d16d3cfe (patch) | |
tree | 0ea920b4592214c848719924da283b82aeb3405b | |
parent | 77c550223c3d71555d84ff110d93021488953e73 (diff) | |
parent | 058f26ffdd182c045dfbb3eae264ad38305b90e6 (diff) | |
download | acpica-f0075506fdc9d1d086f817083129ae33d16d3cfe.tar.gz |
Merge pull request #745 from amadeuszslawinski-intel/master
ACPICA: Fix operand resolution
-rw-r--r-- | source/components/dispatcher/dswexec.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/components/dispatcher/dswexec.c b/source/components/dispatcher/dswexec.c index 31db275df..5ae0ad716 100644 --- a/source/components/dispatcher/dswexec.c +++ b/source/components/dispatcher/dswexec.c @@ -569,9 +569,11 @@ AcpiDsExecEndOp ( /* * All opcodes require operand resolution, with the only exceptions - * being the ObjectType and SizeOf operators. + * being the ObjectType and SizeOf operators as well as opcodes that + * take no arguments. */ - if (!(WalkState->OpInfo->Flags & AML_NO_OPERAND_RESOLVE)) + if (!(WalkState->OpInfo->Flags & AML_NO_OPERAND_RESOLVE) && + (WalkState->OpInfo->Flags & AML_HAS_ARGS)) { /* Resolve all operands */ |