mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
tools/libacpi: Use 64-byte alignment for FACS
The spec requires 64-byte alignment, not 16.
Signed-off-by: Kevin Stefanov <kevin.stefanov@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
master commit: c76cfada1c
master date: 2021-09-10 13:27:08 +0100
This commit is contained in:
1 parent
9d32c26cfe
commit
410f5d02b6
1 file changed
+1
-1
@@ -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));
|
||||
|
||||
|
||||