Blame SOURCES/mips-be-fix.patch

214d7a
Index: acpica-unix2-20200925/source/compiler/aslparseop.c
214d7a
===================================================================
214d7a
--- acpica-unix2-20200925.orig/source/compiler/aslparseop.c
214d7a
+++ acpica-unix2-20200925/source/compiler/aslparseop.c
214d7a
@@ -285,7 +285,16 @@ TrCreateValuedLeafOp (
214d7a
 
214d7a
 
214d7a
     Op = TrAllocateOp (ParseOpcode);
214d7a
-    Op->Asl.Value.Integer = Value;
214d7a
+    if (ParseOpcode == PARSEOP_NAMESTRING ||
214d7a
+        ParseOpcode == PARSEOP_NAMESEG ||
214d7a
+        ParseOpcode == PARSEOP_STRING_LITERAL)
214d7a
+    {
214d7a
+        Op->Asl.Value.String = (char *) Value;
214d7a
+    }
214d7a
+    else
214d7a
+    {
214d7a
+        Op->Asl.Value.Integer = Value;
214d7a
+    }
214d7a
 
214d7a
     DbgPrint (ASL_PARSE_OUTPUT,
214d7a
         "\nCreateValuedLeafOp  Ln/Col %u/%u NewOp %p  "