From: Marcel Apfelbaum Date: Sun, 8 Mar 2015 11:16:03 +0000 (+0200) Subject: acpi: fix aml_equal term implementation X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=ecdc7bab095a2cf29d9e9d4a7e1494f586a8b270;p=qmiga%2Fqemu.git acpi: fix aml_equal term implementation The DefLEqual op does not have a target operand. Remove it. Signed-off-by: Marcel Apfelbaum Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Reviewed-by: Igor Mammedov --- diff --git a/hw/acpi/aml-build.c b/hw/acpi/aml-build.c index e01b8c24b0..ace180b685 100644 --- a/hw/acpi/aml-build.c +++ b/hw/acpi/aml-build.c @@ -546,7 +546,6 @@ Aml *aml_equal(Aml *arg1, Aml *arg2) Aml *var = aml_opcode(0x93 /* LequalOp */); aml_append(var, arg1); aml_append(var, arg2); - build_append_byte(var->buf, 0x00); /* NullNameOp */ return var; }