ACPICA: iASL: Enhancement for constant folding.
authorBob Moore <robert.moore@intel.com>
Mon, 13 Apr 2015 03:50:26 +0000 (11:50 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 14 Apr 2015 12:51:54 +0000 (14:51 +0200)
commit2e7cc46a0f30bc3b749e371ab0afd29b774ae898
treed5aaf56541a69aad154bb6daf28abbfeda736da7
parent8b0b1a9976c04b85c382590c59b305d763a9a5e6
ACPICA: iASL: Enhancement for constant folding.

ACPICA commit 4f9e950d41cd6f6c704d5d6cf518647620d65e99

Add support to fold expressions with a target operand -- these are
folded and converted to a Store operator:

Add (4, 3, INT1) --> Store (7, INT1)

Also supports ASL+ constructs:

INT1 = 4 + 3 --> Store (7, INT1)

Linux kernel is not affected by this patch.

Link: https://github.com/acpica/acpica/commit/4f9e950d
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/acstruct.h