]>
Commit | Line | Data |
---|---|---|
77760c90 JB |
1 | Make sure AslLookup operates correctly on ppc64, too |
2 | ||
3 | From: Al Stone <ahs3@redhat.com> | |
4 | ||
5 | ||
6 | --- | |
7 | source/compiler/asllookup.c | 3 ++- | |
8 | 1 file changed, 2 insertions(+), 1 deletion(-) | |
9 | ||
10 | Index: acpica-unix2-20161222/source/compiler/asllookup.c | |
11 | =================================================================== | |
12 | --- acpica-unix2-20161222.orig/source/compiler/asllookup.c | |
13 | +++ acpica-unix2-20161222/source/compiler/asllookup.c | |
14 | @@ -176,7 +176,8 @@ LkIsObjectUsed ( | |
15 | * We ignore the predefined methods since often, not | |
16 | * all arguments are needed or used. | |
17 | */ | |
18 | - if ((Node->Name.Ascii[0] != '_') && | |
19 | + ACPI_MOVE_32_TO_32(&tmp.Ascii, Node->Name.Ascii); | |
20 | + if ((tmp.Ascii[0] != '_') && | |
21 | (!(MethodArgs[i].Flags & ASL_ARG_REFERENCED))) | |
22 | { | |
23 | sprintf (MsgBuffer, "Arg%u", i); |