ACPICA: Linux-specific header: Add support for s390x compilation
authorColin Ian King <colin.king@canonical.com>
Wed, 28 Dec 2016 07:28:56 +0000 (15:28 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 2 Jan 2017 22:18:42 +0000 (23:18 +0100)
ACPICA commit ecac9504e32d3b501c8cb021afb253b4a83fc82f

Adds s390x as a 64-bit architecture.

Link: https://github.com/acpica/acpica/commit/ecac9504
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/acpi/platform/aclinux.h

index af588e0d2e9965dbe7c6ac6788ec27e61e12dcd7..252359e462c93f132587ff95096721b72a98296b 100644 (file)
 #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