ACPICA: Disassembler: Do not unconditionally remove temporary names
authorDavid E. Box <david.e.box@linux.intel.com>
Wed, 26 Apr 2017 08:18:55 +0000 (16:18 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 26 Apr 2017 22:31:01 +0000 (00:31 +0200)
commitbee900db6d4d9822d8ce6b44f77d23a3c0aa3131
treed944e7693afb707c5c253efab533b46df97a981f
parentbb1e23e66e6237ff7a1824b37366540a89149c33
ACPICA: Disassembler: Do not unconditionally remove temporary names

ACPICA commit c46f496df41e53a368f877f88b70bdfc9bd6fdbe

Change the Switch disassembly code to check if the conversion can be
done before removing temporary (_T_x) names. Prevents invalid
disassembly of AML created by older compilers (circa 2005).

Link: https://github.com/acpica/acpica/commit/c46f496d
Link: https://bugs.acpica.org/show_bug.cgi?id=1358
Link: https://bugs.acpica.org/show_bug.cgi?id=1360
Reported-by: racerrehabman@gmail.com
Signed-off-by: David E. Box <david.e.box@linux.intel.com>
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/aclocal.h