acpica-tools/ppc64le.patch
Al Stone c045b7cf37 Finish up the big-endian changes, hopefully
Signed-off-by: Al Stone <ahs3@redhat.com>
2017-08-18 17:32:28 -06:00

17 lines
447 B
Diff

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