]> git.pld-linux.org Git - packages/acpica.git/blame - mips-be-fix.patch
- updated tests
[packages/acpica.git] / mips-be-fix.patch
CommitLineData
b643ab7e 1Index: acpica-unix2-20220331/source/compiler/aslparseop.c
25d7dd99 2===================================================================
b643ab7e
JB
3--- acpica-unix2-20220331.orig/source/compiler/aslparseop.c
4+++ acpica-unix2-20220331/source/compiler/aslparseop.c
5@@ -285,7 +285,16 @@ TrCreateValuedLeafOp (
25d7dd99
JB
6
7
8 Op = TrAllocateOp (ParseOpcode);
9- Op->Asl.Value.Integer = Value;
10+ if (ParseOpcode == PARSEOP_NAMESTRING ||
11+ ParseOpcode == PARSEOP_NAMESEG ||
12+ ParseOpcode == PARSEOP_STRING_LITERAL)
13+ {
14+ Op->Asl.Value.String = (char *) Value;
15+ }
16+ else
17+ {
18+ Op->Asl.Value.Integer = Value;
19+ }
20
21 DbgPrint (ASL_PARSE_OUTPUT,
22 "\nCreateValuedLeafOp Ln/Col %u/%u NewOp %p "
This page took 0.159371 seconds and 4 git commands to generate.