6da3f65ae2
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/acpica-tools#97b38e48de60dcda464ba13c4571a9669a887813
38 lines
1.1 KiB
Diff
38 lines
1.1 KiB
Diff
Index: acpica-unix-20191018/source/compiler/aslparseop.c
|
|
===================================================================
|
|
--- acpica-unix-20191018.orig/source/compiler/aslparseop.c
|
|
+++ acpica-unix-20191018/source/compiler/aslparseop.c
|
|
@@ -283,7 +283,16 @@ TrCreateValuedLeafOp (
|
|
|
|
|
|
Op = TrAllocateOp (ParseOpcode);
|
|
- Op->Asl.Value.Integer = Value;
|
|
+ if (ParseOpcode == PARSEOP_NAMESTRING ||
|
|
+ ParseOpcode == PARSEOP_NAMESEG ||
|
|
+ ParseOpcode == PARSEOP_STRING_LITERAL)
|
|
+ {
|
|
+ Op->Asl.Value.String = (char *) Value;
|
|
+ }
|
|
+ else
|
|
+ {
|
|
+ Op->Asl.Value.Integer = Value;
|
|
+ }
|
|
|
|
DbgPrint (ASL_PARSE_OUTPUT,
|
|
"\nCreateValuedLeafOp Ln/Col %u/%u NewOp %p "
|
|
Index: acpica-unix-20191018/source/include/platform/aclinux.h
|
|
===================================================================
|
|
--- acpica-unix-20191018.orig/source/include/platform/aclinux.h
|
|
+++ acpica-unix-20191018/source/include/platform/aclinux.h
|
|
@@ -232,10 +232,8 @@
|
|
#endif
|
|
|
|
#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
|
|
-#if defined(__PPC64__) || defined(__s390x__)
|
|
#define ACPI_BIG_ENDIAN
|
|
#endif
|
|
-#endif
|
|
|
|
#endif /* __KERNEL__ */
|
|
|