4496ab
Index: acpica-unix2-20180313/source/compiler/aslparseop.c
4496ab
===================================================================
4496ab
--- acpica-unix2-20180313.orig/source/compiler/aslparseop.c
4496ab
+++ acpica-unix2-20180313/source/compiler/aslparseop.c
4496ab
@@ -283,7 +283,16 @@ TrCreateValuedLeafOp (
4496ab
 
4496ab
 
4496ab
     Op = TrAllocateOp (ParseOpcode);
4496ab
-    Op->Asl.Value.Integer = Value;
4496ab
+    if (ParseOpcode == PARSEOP_NAMESTRING ||
4496ab
+        ParseOpcode == PARSEOP_NAMESEG ||
4496ab
+        ParseOpcode == PARSEOP_STRING_LITERAL)
4496ab
+    {
4496ab
+        Op->Asl.Value.String = (char *) Value;
4496ab
+    }
4496ab
+    else
4496ab
+    {
4496ab
+        Op->Asl.Value.Integer = Value;
4496ab
+    }
4496ab
 
4496ab
     DbgPrint (ASL_PARSE_OUTPUT,
4496ab
         "\nCreateValuedLeafOp  Ln/Col %u/%u NewOp %p  "
4496ab
Index: acpica-unix2-20180313/source/include/platform/aclinux.h
4496ab
===================================================================
4496ab
--- acpica-unix2-20180313.orig/source/include/platform/aclinux.h
4496ab
+++ acpica-unix2-20180313/source/include/platform/aclinux.h
4496ab
@@ -227,10 +227,8 @@
4496ab
 #endif
4496ab
 
4496ab
 #if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
4496ab
-#if defined(__PPC64__) || defined(__s390x__)
4496ab
 #define ACPI_BIG_ENDIAN
4496ab
 #endif
4496ab
-#endif
4496ab
 
4496ab
 #endif /* __KERNEL__ */
4496ab