]> git.pld-linux.org Git - packages/acpica.git/blame - 0044-Initial-support-for-WPBT-in-big-endian-needs-more.patch
- added verbose patch not to hide compiler command line, disable stripping on install
[packages/acpica.git] / 0044-Initial-support-for-WPBT-in-big-endian-needs-more.patch
CommitLineData
b643ab7e
JB
1From bd137d3712e6bc7e4d2d11350a208a36750e4063 Mon Sep 17 00:00:00 2001
2From: Al Stone <ahs3@redhat.com>
3Date: Tue, 6 Jul 2021 18:26:41 -0600
4Subject: [PATCH 44/45] Initial support for WPBT in big-endian, needs more
5
6Signed-off-by: Al Stone <ahs3@redhat.com>
7---
8 source/compiler/dttable2.c | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11Index: acpica-unix2-20210604/source/compiler/dttable2.c
12===================================================================
13--- acpica-unix2-20210604.orig/source/compiler/dttable2.c
14+++ acpica-unix2-20210604/source/compiler/dttable2.c
15@@ -2638,7 +2638,7 @@ DtCompileWpbt (
16 AcpiUtWriteUint (&Length, sizeof (UINT16),
17 &Subtable->TotalLength, sizeof (UINT32));
18 Table = ACPI_CAST_PTR (ACPI_TABLE_WPBT, ParentTable->Buffer);
19- Table->ArgumentsLength = Length;
20+ Table->ArgumentsLength = AcpiUtReadUint16 (&Length);
21
22 ParentTable = DtPeekSubtable ();
23 DtInsertSubtable (ParentTable, Subtable);
This page took 0.032338 seconds and 4 git commands to generate.