From: Kevin Stefanov Date: Thu, 9 Sep 2021 16:34:39 +0000 (+0100) Subject: tools/libacpi: Use 64-byte alignment for FACS X-Git-Tag: 4.16.0-rc1~163 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=c76cfada1cfad05aaf64ce3ad305c5467650e782;p=xen.git tools/libacpi: Use 64-byte alignment for FACS The spec requires 64-byte alignment, not 16. Signed-off-by: Kevin Stefanov Reviewed-by: Jan Beulich --- diff --git a/tools/libacpi/build.c b/tools/libacpi/build.c index a61dd5583a..fe2db66a62 100644 --- a/tools/libacpi/build.c +++ b/tools/libacpi/build.c @@ -532,7 +532,7 @@ int acpi_build_tables(struct acpi_ctxt *ctxt, struct acpi_config *config) * Fill in high-memory data structures, starting at @buf. */ - facs = ctxt->mem_ops.alloc(ctxt, sizeof(struct acpi_20_facs), 16); + facs = ctxt->mem_ops.alloc(ctxt, sizeof(struct acpi_20_facs), 64); if (!facs) goto oom; memcpy(facs, &Facs, sizeof(struct acpi_20_facs));