2016-01-07 00:44:04 +00:00
|
|
|
Make sure AslLookup operates correctly on ppc64, too
|
|
|
|
|
|
|
|
From: Al Stone <ahs3@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
source/compiler/asllookup.c | 3 ++-
|
|
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
|
2016-03-19 21:32:48 +00:00
|
|
|
Index: acpica-unix2-20160318/source/compiler/asllookup.c
|
|
|
|
===================================================================
|
|
|
|
--- acpica-unix2-20160318.orig/source/compiler/asllookup.c
|
|
|
|
+++ acpica-unix2-20160318/source/compiler/asllookup.c
|
2015-10-14 21:00:20 +00:00
|
|
|
@@ -176,7 +176,8 @@ LkIsObjectUsed (
|
2015-09-11 15:30:28 +00:00
|
|
|
* 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);
|