ACK: [PATCH] acpica: s390x needs to be built as a 64 bit architecture

Alex Hung alex.hung at canonical.com
Wed Nov 30 19:53:33 UTC 2016


On 2016-11-30 05:07 AM, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> We need to ensure 64 bit build for ACPICA on s390x.  I hope
> to get this fixed upstream in ACPICA soon. This fix cleans
> up build warnings on the ACPICA core on s390x
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
>  src/acpica/source/include/platform/aclinux.h | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/acpica/source/include/platform/aclinux.h b/src/acpica/source/include/platform/aclinux.h
> index 6f7c577..9d0927b 100644
> --- a/src/acpica/source/include/platform/aclinux.h
> +++ b/src/acpica/source/include/platform/aclinux.h
> @@ -265,7 +265,8 @@
>  #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(__s390x__)
>  #define ACPI_MACHINE_WIDTH          64
>  #define COMPILER_DEPENDENT_INT64    long
>  #define COMPILER_DEPENDENT_UINT64   unsigned long
>


Acked-by: Alex Hung <alex.hung at canonical.com>



More information about the fwts-devel mailing list