From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40736) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9uS7-0003wP-AE for qemu-devel@nongnu.org; Mon, 06 Jun 2016 09:20:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b9uS0-0004Rm-R3 for qemu-devel@nongnu.org; Mon, 06 Jun 2016 09:20:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46960) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9uS0-0004Rg-La for qemu-devel@nongnu.org; Mon, 06 Jun 2016 09:20:16 -0400 From: Igor Mammedov Date: Mon, 6 Jun 2016 15:20:14 +0200 Message-Id: <1465219214-253815-1-git-send-email-imammedo@redhat.com> In-Reply-To: <1465132825-14242-22-git-send-email-mst@redhat.com> References: <1465132825-14242-22-git-send-email-mst@redhat.com> Subject: [Qemu-devel] [PATCH 21/25] fixup! acpi: make bios_linker_loader_add_pointer() API offset based List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, mst@redhat.com, zhaoshenglong@huawei.com, marcel@redhat.com Signed-off-by: Igor Mammedov --- hw/acpi/aml-build.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/acpi/aml-build.c b/hw/acpi/aml-build.c index a17bf7c..d025837 100644 --- a/hw/acpi/aml-build.c +++ b/hw/acpi/aml-build.c @@ -1534,7 +1534,7 @@ unsigned acpi_data_len(GArray *table) void acpi_add_table(GArray *table_offsets, GArray *table_data) { - uint32_t offset = cpu_to_le32(table_data->len); + uint32_t offset = table_data->len; g_array_append_val(table_offsets, offset); } -- 1.8.3.1