2018-05-14 18:57:53 +00:00
|
|
|
Index: acpica-unix2-20180313/source/include/platform/aclinux.h
|
2017-08-11 23:14:55 +00:00
|
|
|
===================================================================
|
2018-05-14 18:57:53 +00:00
|
|
|
--- acpica-unix2-20180313.orig/source/include/platform/aclinux.h
|
|
|
|
+++ acpica-unix2-20180313/source/include/platform/aclinux.h
|
|
|
|
@@ -228,9 +228,11 @@
|
2017-01-30 22:46:31 +00:00
|
|
|
#define __cdecl
|
|
|
|
#endif
|
|
|
|
|
2017-08-19 00:28:34 +00:00
|
|
|
+#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
|
2017-01-30 22:46:31 +00:00
|
|
|
#if defined(__PPC64__) || defined(__s390x__)
|
|
|
|
#define ACPI_BIG_ENDIAN
|
|
|
|
#endif
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
#endif /* __KERNEL__ */
|
|
|
|
|