1 Make sure AslLookup operates correctly on ppc64, too
3 From: Al Stone <ahs3@redhat.com>
7 source/compiler/asllookup.c | 3 ++-
8 1 file changed, 2 insertions(+), 1 deletion(-)
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.
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)))
23 sprintf (MsgBuffer, "Arg%u", i);