Blame SOURCES/mips-be-fix.patch

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