Message ID | 1394641890-16330-1-git-send-email-colin.king@canonical.com |
---|---|
State | Rejected |
Headers | show |
On 12/03/14 16:31, Colin King wrote: > From: Ubuntu <ubuntu@stilson-02.localdomain> > > ppc64el was segfaulting because the build was defaulting to > a 32 bit build. This is a temporary fix for the current > release of fwts, I hope to get this fixed upstream in ACPICA > some time soon. With this fix the syntaxcheck and disassemble > regression tests were failing because iasl was segfaulting. > > Signed-off-by: Ubuntu <ubuntu@stilson-02.localdomain> > --- > src/acpica/source/include/platform/aclinux.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/acpica/source/include/platform/aclinux.h b/src/acpica/source/include/platform/aclinux.h > index b8da18b..e85cc79 100644 > --- a/src/acpica/source/include/platform/aclinux.h > +++ b/src/acpica/source/include/platform/aclinux.h > @@ -161,7 +161,7 @@ > #define ACPI_FLUSH_CPU_CACHE() > #define ACPI_CAST_PTHREAD_T(Pthread) ((ACPI_THREAD_ID) (Pthread)) > > -#if defined(__ia64__) || defined(__x86_64__) || defined(__aarch64__) > +#if defined(__ia64__) || defined(__x86_64__) || defined(__aarch64__) || defined(__PPC64__) > #define ACPI_MACHINE_WIDTH 64 > #define COMPILER_DEPENDENT_INT64 long > #define COMPILER_DEPENDENT_UINT64 unsigned long > NACK, wrong signoff, doh. I'll resend.
diff --git a/src/acpica/source/include/platform/aclinux.h b/src/acpica/source/include/platform/aclinux.h index b8da18b..e85cc79 100644 --- a/src/acpica/source/include/platform/aclinux.h +++ b/src/acpica/source/include/platform/aclinux.h @@ -161,7 +161,7 @@ #define ACPI_FLUSH_CPU_CACHE() #define ACPI_CAST_PTHREAD_T(Pthread) ((ACPI_THREAD_ID) (Pthread)) -#if defined(__ia64__) || defined(__x86_64__) || defined(__aarch64__) +#if defined(__ia64__) || defined(__x86_64__) || defined(__aarch64__) || defined(__PPC64__) #define ACPI_MACHINE_WIDTH 64 #define COMPILER_DEPENDENT_INT64 long #define COMPILER_DEPENDENT_UINT64 unsigned long