diff options
author | Colin Ian King <colin.king@canonical.com> | 2016-12-28 02:28:56 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-01-02 17:18:42 -0500 |
commit | 23741569dc31052c786621db276779e0ed431e62 (patch) | |
tree | db2315f8587248bc968d18f80bc9200ab685cb7d | |
parent | 0fc5e8f4e4b33ddfa1d1d673fcd420d6e13eb076 (diff) |
ACPICA: Linux-specific header: Add support for s390x compilation
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>
-rw-r--r-- | include/acpi/platform/aclinux.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h index af588e0d2e99..252359e462c9 100644 --- a/include/acpi/platform/aclinux.h +++ b/include/acpi/platform/aclinux.h | |||
@@ -201,7 +201,8 @@ | |||
201 | #define ACPI_CAST_PTHREAD_T(pthread) ((acpi_thread_id) (pthread)) | 201 | #define ACPI_CAST_PTHREAD_T(pthread) ((acpi_thread_id) (pthread)) |
202 | 202 | ||
203 | #if defined(__ia64__) || defined(__x86_64__) ||\ | 203 | #if defined(__ia64__) || defined(__x86_64__) ||\ |
204 | defined(__aarch64__) || defined(__PPC64__) | 204 | defined(__aarch64__) || defined(__PPC64__) ||\ |
205 | defined(__s390x__) | ||
205 | #define ACPI_MACHINE_WIDTH 64 | 206 | #define ACPI_MACHINE_WIDTH 64 |
206 | #define COMPILER_DEPENDENT_INT64 long | 207 | #define COMPILER_DEPENDENT_INT64 long |
207 | #define COMPILER_DEPENDENT_UINT64 unsigned long | 208 | #define COMPILER_DEPENDENT_UINT64 unsigned long |