acpica-tools/asllookup-ppc64.patch
Al Stone d2e646292a Refresh the patches, and remove one that is no longer needed.
Signed-off-by: Al Stone <ahs3@redhat.com>
2015-10-14 15:00:20 -06:00

15 lines
727 B
Diff

Index: acpica-unix2-20150930/source/compiler/asllookup.c
===================================================================
--- acpica-unix2-20150930.orig/source/compiler/asllookup.c
+++ acpica-unix2-20150930/source/compiler/asllookup.c
@@ -176,7 +176,8 @@ LkIsObjectUsed (
* We ignore the predefined methods since often, not
* all arguments are needed or used.
*/
- if ((Node->Name.Ascii[0] != '_') &&
+ ACPI_MOVE_32_TO_32(&tmp.Ascii, Node->Name.Ascii);
+ if ((tmp.Ascii[0] != '_') &&
(!(MethodArgs[i].Flags & ASL_ARG_REFERENCED)))
{
sprintf (MsgBuffer, "Arg%u", i);