Al Stone 0560f8
Updated versions of upstream often contain fixes that were not seen
Al Stone 0560f8
in the original big-endian patch; we try to capture those here.
Al Stone 0560f8
Al Stone 0560f8
Signed-off-by: Al Stone <ahs3@redhat.com>
Al Stone 0560f8
Al Stone 0560f8
diff -Naur acpica-unix2-20170929.orig/source/compiler/asllookup.c acpica-unix2-20170929/source/compiler/asllookup.c
Al Stone 0560f8
--- acpica-unix2-20170929.orig/source/compiler/asllookup.c	2017-10-09 12:26:25.893508481 -0600
Al Stone 0560f8
+++ acpica-unix2-20170929/source/compiler/asllookup.c	2017-10-17 11:45:42.230763844 -0600
Al Stone 0560f8
@@ -249,7 +249,8 @@
Al Stone 0560f8
      * ACPI names and are typically not referenced since they are meant
Al Stone 0560f8
      * to be called by the host OS.
Al Stone 0560f8
      */
Al Stone 0560f8
-    if (Node->Name.Ascii[0] == '_')
Al Stone 0560f8
+    ACPI_MOVE_32_TO_32(&tmp.Ascii, Node->Name.Ascii);
Al Stone 0560f8
+    if (tmp.Ascii[0] == '_')
Al Stone 0560f8
     {
Al Stone 0560f8
         return (AE_OK);
Al Stone 0560f8
     }