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