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:
Kevin Stefanov authored and Jan Beulich committed 2021-10-15 11:16:09 +02:00
1 parent 9d32c26cfe
commit 410f5d02b6
1 file changed
+1 -1
+1 -1
View File
@@ -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));
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.