OSDN Git Service

acpi: fix aml_equal term implementation
authorMarcel Apfelbaum <marcel@redhat.com>
Sun, 8 Mar 2015 11:16:03 +0000 (13:16 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 10 Mar 2015 15:09:59 +0000 (16:09 +0100)
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>
hw/acpi/aml-build.c

index e01b8c2..ace180b 100644 (file)
@@ -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;
 }