diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2016-11-17 18:06:08 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2016-11-17 18:06:08 +0000 |
commit | a56e3c255d5c5dfa4dd3a2fda4705a1607a6b7f3 (patch) | |
tree | 830d95042126506cd52440fe9710bb4e6811cfde /source/components/parser/psobject.c | |
parent | 7600ac2283596bd000a29b9347e95346d3b740d7 (diff) |
Notes
Diffstat (limited to 'source/components/parser/psobject.c')
-rw-r--r-- | source/components/parser/psobject.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/components/parser/psobject.c b/source/components/parser/psobject.c index 7edc39e2b7ad..d027f6d9892c 100644 --- a/source/components/parser/psobject.c +++ b/source/components/parser/psobject.c @@ -373,7 +373,13 @@ AcpiPsCreateOp ( Op->Common.Flags |= ACPI_PARSEOP_TARGET; } } - else if (ParentScope->Common.AmlOpcode == AML_INCREMENT_OP) + + /* + * Special case for both Increment() and Decrement(), where + * the lone argument is both a source and a target. + */ + else if ((ParentScope->Common.AmlOpcode == AML_INCREMENT_OP) || + (ParentScope->Common.AmlOpcode == AML_DECREMENT_OP)) { Op->Common.Flags |= ACPI_PARSEOP_TARGET; } |