Fix ppc64le patch to detect big-endian properly
Signed-off-by: Al Stone <ahs3@redhat.com>
This commit is contained in:
parent
99f1748353
commit
10e64345c6
@ -6,7 +6,7 @@ Index: acpica-unix2-20170728/source/include/platform/aclinux.h
|
|||||||
#define __cdecl
|
#define __cdecl
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
+#if defined(__BIG_ENDIAN)
|
+#if __BYTE_ORDER__ __ORDER_BIG_ENDIAN__
|
||||||
#if defined(__PPC64__) || defined(__s390x__)
|
#if defined(__PPC64__) || defined(__s390x__)
|
||||||
#define ACPI_BIG_ENDIAN
|
#define ACPI_BIG_ENDIAN
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user