acpica-tools/ppc64le.patch
Al Stone 49c3e9a267 Update to 20180209 upstream source, including patch refreshes
Signed-off-by: Al Stone <ahs3@redhat.com>
2018-03-06 15:25:45 -07:00

17 lines
464 B
Diff

Index: acpica-unix2-20180209/source/include/platform/aclinux.h
===================================================================
--- acpica-unix2-20180209.orig/source/include/platform/aclinux.h
+++ acpica-unix2-20180209/source/include/platform/aclinux.h
@@ -227,9 +227,11 @@
#define __cdecl
#endif
+#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
#if defined(__PPC64__) || defined(__s390x__)
#define ACPI_BIG_ENDIAN
#endif
+#endif
#endif /* __KERNEL__ */