acpica-tools/ppc64le.patch
Al Stone 3c1be00835 Fix stupid typo in ppc64le.patch
Signed-off-by: Al Stone <ahs3@redhat.com>
2017-08-18 18:28:34 -06:00

17 lines
464 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 __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
#if defined(__PPC64__) || defined(__s390x__)
#define ACPI_BIG_ENDIAN
#endif
+#endif
#endif /* __KERNEL__ */