From ecac9504e32d3b501c8cb021afb253b4a83fc82f Mon Sep 17 00:00:00 2001 From: Colin Ian King Date: Wed, 30 Nov 2016 13:09:33 +0000 Subject: Linux-specific header: Add support for s390x compilation. Adds s390x as a 64-bit architecture. Signed-off-by: Colin Ian King --- source/include/platform/aclinux.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/include/platform/aclinux.h b/source/include/platform/aclinux.h index 6f7c5775e..9d0927b87 100644 --- a/source/include/platform/aclinux.h +++ b/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 -- cgit v1.2.1