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