Corrected ppc64le.patch to set little endian properly
Signed-off-by: Al Stone <ahs3@redhat.com>
This commit is contained in:
parent
b0bee42812
commit
83686d24e1
@ -1,6 +1,6 @@
|
|||||||
Name: acpica-tools
|
Name: acpica-tools
|
||||||
Version: 20170303
|
Version: 20170303
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: ACPICA tools for the development and debug of ACPI tables
|
Summary: ACPICA tools for the development and debug of ACPI tables
|
||||||
|
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
@ -194,6 +194,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri May 5 2017 Al Stone <ahs3@redhat.com> - 20170303-3
|
||||||
|
- Correct ppc64le.patch; it was not setting little-endian properly.
|
||||||
|
|
||||||
* Tue May 2 2017 Al Stone <ahs3@redhat.com> - 20170303-2
|
* Tue May 2 2017 Al Stone <ahs3@redhat.com> - 20170303-2
|
||||||
- Correct update-big-endian.patch; it introduced a bug due to logic being
|
- Correct update-big-endian.patch; it introduced a bug due to logic being
|
||||||
replaced in the wrong order.
|
replaced in the wrong order.
|
||||||
|
@ -1,20 +1,11 @@
|
|||||||
diff -Naur acpica-unix2-20170119.orig/source/include/platform/aclinux.h acpica-unix2-20170119/source/include/platform/aclinux.h
|
diff -Naur acpica-unix2-20170119.orig/source/include/platform/aclinux.h acpica-unix2-20170119/source/include/platform/aclinux.h
|
||||||
--- acpica-unix2-20170119.orig/source/include/platform/aclinux.h 2017-01-30 15:38:53.465753721 -0700
|
--- acpica-unix2-20170119.orig/source/include/platform/aclinux.h 2017-01-30 15:38:53.465753721 -0700
|
||||||
+++ acpica-unix2-20170119/source/include/platform/aclinux.h 2017-01-30 15:42:55.911358257 -0700
|
+++ acpica-unix2-20170119/source/include/platform/aclinux.h 2017-01-30 15:42:55.911358257 -0700
|
||||||
@@ -203,7 +203,7 @@
|
|
||||||
#define ACPI_CAST_PTHREAD_T(Pthread) ((ACPI_THREAD_ID) (Pthread))
|
|
||||||
|
|
||||||
#if defined(__ia64__) || defined(__x86_64__) ||\
|
|
||||||
- defined(__aarch64__) || defined(__PPC64__) ||\
|
|
||||||
+ defined(__aarch64__) || defined(__PPC64__) || defined(__ppc64le__) ||\
|
|
||||||
defined(__s390x__)
|
|
||||||
#define ACPI_MACHINE_WIDTH 64
|
|
||||||
#define COMPILER_DEPENDENT_INT64 long
|
|
||||||
@@ -219,9 +219,11 @@
|
@@ -219,9 +219,11 @@
|
||||||
#define __cdecl
|
#define __cdecl
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
+#if !defined(__ppc64le__)
|
+#if defined(__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