2018-03-06 22:25:45 +00:00
|
|
|
Index: acpica-unix2-20180209/source/include/platform/aclinux.h
|
2017-08-11 23:14:55 +00:00
|
|
|
===================================================================
|
2018-03-06 22:25:45 +00:00
|
|
|
--- acpica-unix2-20180209.orig/source/include/platform/aclinux.h
|
|
|
|
+++ acpica-unix2-20180209/source/include/platform/aclinux.h
|
|
|
|
@@ -227,9 +227,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__ */
|
|
|
|
|