Blame SOURCES/0044-Initial-support-for-WPBT-in-big-endian-needs-more.patch
|
|
9897bb |
From bd137d3712e6bc7e4d2d11350a208a36750e4063 Mon Sep 17 00:00:00 2001
|
|
|
9897bb |
From: Al Stone <ahs3@redhat.com>
|
|
|
9897bb |
Date: Tue, 6 Jul 2021 18:26:41 -0600
|
|
|
9897bb |
Subject: [PATCH 44/45] Initial support for WPBT in big-endian, needs more
|
|
|
9897bb |
|
|
|
9897bb |
Signed-off-by: Al Stone <ahs3@redhat.com>
|
|
|
9897bb |
---
|
|
|
9897bb |
source/compiler/dttable2.c | 2 +-
|
|
|
9897bb |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
9897bb |
|
|
|
9897bb |
Index: acpica-unix2-20210604/source/compiler/dttable2.c
|
|
|
9897bb |
===================================================================
|
|
|
9897bb |
--- acpica-unix2-20210604.orig/source/compiler/dttable2.c
|
|
|
9897bb |
+++ acpica-unix2-20210604/source/compiler/dttable2.c
|
|
|
9897bb |
@@ -2638,7 +2638,7 @@ DtCompileWpbt (
|
|
|
9897bb |
AcpiUtWriteUint (&Length, sizeof (UINT16),
|
|
|
9897bb |
&Subtable->TotalLength, sizeof (UINT32));
|
|
|
9897bb |
Table = ACPI_CAST_PTR (ACPI_TABLE_WPBT, ParentTable->Buffer);
|
|
|
9897bb |
- Table->ArgumentsLength = Length;
|
|
|
9897bb |
+ Table->ArgumentsLength = AcpiUtReadUint16 (&Length);
|
|
|
9897bb |
|
|
|
9897bb |
ParentTable = DtPeekSubtable ();
|
|
|
9897bb |
DtInsertSubtable (ParentTable, Subtable);
|