Blame SOURCES/arm7hl.patch

214d7a
Index: acpica-unix2-20210604/source/include/acmacros.h
214d7a
===================================================================
214d7a
--- acpica-unix2-20210604.orig/source/include/acmacros.h
214d7a
+++ acpica-unix2-20210604/source/include/acmacros.h
214d7a
@@ -108,6 +108,8 @@
214d7a
 
214d7a
 /* 16-bit source, 16/32/64 destination */
214d7a
 
214d7a
+#define ACPI_MOVE_16_TO_8(d, s)        {((  UINT8 *)(void *)(d))[0] = ((UINT8 *)(void *)(s))[0];}
214d7a
+
214d7a
 #define ACPI_MOVE_16_TO_16(d, s)        {((  UINT8 *)(void *)(d))[0] = ((UINT8 *)(void *)(s))[0];\
214d7a
                                          ((  UINT8 *)(void *)(d))[1] = ((UINT8 *)(void *)(s))[1];}
214d7a
 
214d7a
@@ -127,6 +129,7 @@
214d7a
 
214d7a
 /* 64-bit source, 16/32/64 destination */
214d7a
 
214d7a
+#define ACPI_MOVE_64_TO_8(d, s)         ACPI_MOVE_16_TO_8(d, s)    /* Truncate to 8 */
214d7a
 #define ACPI_MOVE_64_TO_16(d, s)        ACPI_MOVE_16_TO_16(d, s)    /* Truncate to 16 */
214d7a
 #define ACPI_MOVE_64_TO_32(d, s)        ACPI_MOVE_32_TO_32(d, s)    /* Truncate to 32 */
214d7a
 #define ACPI_MOVE_64_TO_64(d, s)        {((  UINT8 *)(void *)(d))[0] = ((UINT8 *)(void *)(s))[0];\