Blob Blame History Raw
diff -Naur acpica-unix2-20200214.orig/source/components/namespace/nsutils.c acpica-unix2-20200214/source/components/namespace/nsutils.c
--- acpica-unix2-20200214.orig/source/components/namespace/nsutils.c	2020-02-14 10:33:55.000000000 -0700
+++ acpica-unix2-20200214/source/components/namespace/nsutils.c	2020-02-26 10:25:43.477022167 -0700
@@ -363,6 +363,15 @@
 
         /* Move on the next segment */
 
+	{
+	    /* Make sure the name segment reflects endian-ness first */
+
+	    UINT32 Tmp32 = 0;
+
+	    memcpy(&Tmp32, Result, ACPI_NAMESEG_SIZE);
+	    ACPI_MOVE_32_TO_32(Result, &Tmp32);
+	}
+
         ExternalName++;
         Result += ACPI_NAMESEG_SIZE;
     }