aboutsummaryrefslogtreecommitdiff
path: root/hw/acpi
diff options
context:
space:
mode:
authorMarcel Apfelbaum <marcel@redhat.com>2015-03-08 13:16:03 +0200
committerMichael S. Tsirkin <mst@redhat.com>2015-03-10 16:09:59 +0100
commitecdc7bab095a2cf29d9e9d4a7e1494f586a8b270 (patch)
tree1eee6df514e4f2c1a7bff27a65ede3e9a479af6b /hw/acpi
parentaea10cdef2fb5c3bb8af598609ce19f725bf127f (diff)
downloadqemu-ecdc7bab095a2cf29d9e9d4a7e1494f586a8b270.zip
qemu-ecdc7bab095a2cf29d9e9d4a7e1494f586a8b270.tar.gz
qemu-ecdc7bab095a2cf29d9e9d4a7e1494f586a8b270.tar.bz2
acpi: fix aml_equal term implementation
The DefLEqual op does not have a target operand. Remove it. Signed-off-by: Marcel Apfelbaum <marcel@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Diffstat (limited to 'hw/acpi')
-rw-r--r--hw/acpi/aml-build.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/acpi/aml-build.c b/hw/acpi/aml-build.c
index e01b8c2..ace180b 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;
}