diff options
author | Bob Moore <robert.moore@intel.com> | 2015-04-12 23:50:26 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-04-14 08:51:54 -0400 |
commit | 2e7cc46a0f30bc3b749e371ab0afd29b774ae898 (patch) | |
tree | d5aaf56541a69aad154bb6daf28abbfeda736da7 /drivers/acpi | |
parent | 8b0b1a9976c04b85c382590c59b305d763a9a5e6 (diff) |
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>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/acpica/acstruct.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/acpi/acpica/acstruct.h b/drivers/acpi/acpica/acstruct.h index d14b547b7cd5..87c7860b3394 100644 --- a/drivers/acpi/acpica/acstruct.h +++ b/drivers/acpi/acpica/acstruct.h | |||
@@ -68,11 +68,6 @@ | |||
68 | #define ACPI_WALK_METHOD 0x01 | 68 | #define ACPI_WALK_METHOD 0x01 |
69 | #define ACPI_WALK_METHOD_RESTART 0x02 | 69 | #define ACPI_WALK_METHOD_RESTART 0x02 |
70 | 70 | ||
71 | /* Flags for iASL compiler only */ | ||
72 | |||
73 | #define ACPI_WALK_CONST_REQUIRED 0x10 | ||
74 | #define ACPI_WALK_CONST_OPTIONAL 0x20 | ||
75 | |||
76 | struct acpi_walk_state { | 71 | struct acpi_walk_state { |
77 | struct acpi_walk_state *next; /* Next walk_state in list */ | 72 | struct acpi_walk_state *next; /* Next walk_state in list */ |
78 | u8 descriptor_type; /* To differentiate various internal objs */ | 73 | u8 descriptor_type; /* To differentiate various internal objs */ |