summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorDavid E. Box <david.e.box@linux.intel.com>2016-02-19 14:16:49 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-02-24 14:14:49 +0100
commitb3aec9725f387c680de308b5e94ec5bb7a5988a8 (patch)
treec56e851837153176a5e6cad22ccc9d74f2a35327 /drivers/acpi
parent05fb04b54f6b67f4eb901e99dd5b4604b46ffa0f (diff)
downloadblackbird-op-linux-b3aec9725f387c680de308b5e94ec5bb7a5988a8.tar.gz
blackbird-op-linux-b3aec9725f387c680de308b5e94ec5bb7a5988a8.zip
ACPICA: ACPI 6.0/iASL: Add support for the External AML opcode
ACPICA commit 882892feeafe8b8e5be10463133405cd4f1309d9 Support for both the compiler and disassembler. Also, the interpreter will ignore this opcode if it is ever encountered (should not happen). David Box. Link: https://github.com/acpica/acpica/commit/882892fe 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>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/acpica/exoparg3.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/exoparg3.c b/drivers/acpi/acpica/exoparg3.c
index 28eb861c44eb..5aa21c4eda1d 100644
--- a/drivers/acpi/acpica/exoparg3.c
+++ b/drivers/acpi/acpica/exoparg3.c
@@ -123,8 +123,10 @@ acpi_status acpi_ex_opcode_3A_0T_0R(struct acpi_walk_state *walk_state)
* op is intended for use by disassemblers in order to properly
* disassemble control method invocations. The opcode or group of
* opcodes should be surrounded by an "if (0)" clause to ensure that
- * AML interpreters never see the opcode.
+ * AML interpreters never see the opcode. Thus, something is
+ * wrong if an external opcode ever gets here.
*/
+ ACPI_ERROR((AE_INFO, "Executed External Op"));
status = AE_OK;
goto cleanup;
OpenPOWER on IntegriCloud