acpica-tools/ppc64le.patch
Al Stone b60b74884b Update to 20170629 upstream source and refresh patches
Signed-off-by: Al Stone <ahs3@redhat.com>
2017-08-11 17:14:55 -06:00

17 lines
449 B
Diff

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