|
Al Stone |
98fbc9 |
diff -Naur acpica-unix2-20170119.orig/source/include/platform/aclinux.h acpica-unix2-20170119/source/include/platform/aclinux.h
|
|
Al Stone |
98fbc9 |
--- acpica-unix2-20170119.orig/source/include/platform/aclinux.h 2017-01-30 15:38:53.465753721 -0700
|
|
Al Stone |
98fbc9 |
+++ acpica-unix2-20170119/source/include/platform/aclinux.h 2017-01-30 15:42:55.911358257 -0700
|
|
Al Stone |
98fbc9 |
@@ -203,7 +203,7 @@
|
|
Al Stone |
98fbc9 |
#define ACPI_CAST_PTHREAD_T(Pthread) ((ACPI_THREAD_ID) (Pthread))
|
|
Al Stone |
98fbc9 |
|
|
Al Stone |
98fbc9 |
#if defined(__ia64__) || defined(__x86_64__) ||\
|
|
Al Stone |
98fbc9 |
- defined(__aarch64__) || defined(__PPC64__) ||\
|
|
Al Stone |
98fbc9 |
+ defined(__aarch64__) || defined(__PPC64__) || defined(__ppc64le__) ||\
|
|
Al Stone |
98fbc9 |
defined(__s390x__)
|
|
Al Stone |
98fbc9 |
#define ACPI_MACHINE_WIDTH 64
|
|
Al Stone |
98fbc9 |
#define COMPILER_DEPENDENT_INT64 long
|
|
Al Stone |
98fbc9 |
@@ -219,9 +219,11 @@
|
|
Al Stone |
98fbc9 |
#define __cdecl
|
|
Al Stone |
98fbc9 |
#endif
|
|
Al Stone |
98fbc9 |
|
|
Al Stone |
98fbc9 |
+#if !defined(__ppc64le__)
|
|
Al Stone |
98fbc9 |
#if defined(__PPC64__) || defined(__s390x__)
|
|
Al Stone |
98fbc9 |
#define ACPI_BIG_ENDIAN
|
|
Al Stone |
98fbc9 |
#endif
|
|
Al Stone |
98fbc9 |
+#endif
|
|
Al Stone |
98fbc9 |
|
|
Al Stone |
98fbc9 |
#endif /* __KERNEL__ */
|
|
Al Stone |
98fbc9 |
|