acpica-tools/ppc64le.patch
Al Stone d7f8eec1b2 Update to 20191018 upstream source with refreshed patches
Signed-off-by: Al Stone <ahs3@redhat.com>
2019-11-23 16:16:51 -07:00

17 lines
461 B
Diff

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