]>
Commit | Line | Data |
---|---|---|
70586bb3 | 1 | Index: acpica-unix-20191213/source/compiler/aslparseop.c |
25d7dd99 | 2 | =================================================================== |
70586bb3 JB |
3 | --- acpica-unix-20191213.orig/source/compiler/aslparseop.c |
4 | +++ acpica-unix-20191213/source/compiler/aslparseop.c | |
25d7dd99 JB |
5 | @@ -283,7 +283,16 @@ TrCreateValuedLeafOp ( |
6 | ||
7 | ||
8 | Op = TrAllocateOp (ParseOpcode); | |
9 | - Op->Asl.Value.Integer = Value; | |
10 | + if (ParseOpcode == PARSEOP_NAMESTRING || | |
11 | + ParseOpcode == PARSEOP_NAMESEG || | |
12 | + ParseOpcode == PARSEOP_STRING_LITERAL) | |
13 | + { | |
14 | + Op->Asl.Value.String = (char *) Value; | |
15 | + } | |
16 | + else | |
17 | + { | |
18 | + Op->Asl.Value.Integer = Value; | |
19 | + } | |
20 | ||
21 | DbgPrint (ASL_PARSE_OUTPUT, | |
22 | "\nCreateValuedLeafOp Ln/Col %u/%u NewOp %p " | |
70586bb3 | 23 | Index: acpica-unix-20191213/source/include/platform/aclinux.h |
25d7dd99 | 24 | =================================================================== |
70586bb3 JB |
25 | --- acpica-unix-20191213.orig/source/include/platform/aclinux.h |
26 | +++ acpica-unix-20191213/source/include/platform/aclinux.h | |
27 | @@ -232,10 +232,8 @@ | |
25d7dd99 JB |
28 | #endif |
29 | ||
30 | #if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ | |
31 | -#if defined(__PPC64__) || defined(__s390x__) | |
32 | #define ACPI_BIG_ENDIAN | |
33 | #endif | |
34 | -#endif | |
35 | ||
36 | #endif /* __KERNEL__ */ | |
37 |