NACK: [PATCH] acpica: ppc64el needs to be built as a 64 bit architecture

Colin Ian King colin.king at canonical.com
Wed Mar 12 16:32:58 UTC 2014


On 12/03/14 16:31, Colin King wrote:
> From: Ubuntu <ubuntu at 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 at 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.



More information about the fwts-devel mailing list