summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Moore <Robert.Moore@intel.com>2016-11-30 08:19:05 -0800
committerGitHub <noreply@github.com>2016-11-30 08:19:05 -0800
commitdf3db6f49b7c9209e49a14310b0840e1abd04675 (patch)
tree149dd54321df3d95466677624002f569db844724
parent0d5a056877c2e37e0bfce8d262cec339dc8d55fd (diff)
parentecac9504e32d3b501c8cb021afb253b4a83fc82f (diff)
downloadacpica-df3db6f49b7c9209e49a14310b0840e1abd04675.tar.gz
Merge pull request #192 from ColinIanKing/master
Linux-specific header: Add support for s390x compilation.
-rw-r--r--source/include/platform/aclinux.h3
1 files changed, 2 insertions, 1 deletions
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