Blame SOURCES/big-endian-v2.patch

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