diff options
author | Colin Ian King <colin.king@canonical.com> | 2014-04-04 00:38:05 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-04-20 16:59:38 -0400 |
commit | 72bdad969271b713e109fd747111d39a0b41d289 (patch) | |
tree | 9541af75fe21fae3842ed8fab266b2a5987a8e7d /include/acpi/platform | |
parent | a3a80da3ef396c5c64ade0c834a8145d3f283a24 (diff) |
ACPICA: Linux-specific header: Add support for PPC64 compilation.
Adds PPC64 as a 64-bit architecture. Colin Ian King.
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>
Diffstat (limited to 'include/acpi/platform')
-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 0d94be8531b5..f2429094b9b9 100644 --- a/include/acpi/platform/aclinux.h +++ b/include/acpi/platform/aclinux.h | |||
@@ -106,7 +106,8 @@ | |||
106 | #define ACPI_FLUSH_CPU_CACHE() | 106 | #define ACPI_FLUSH_CPU_CACHE() |
107 | #define ACPI_CAST_PTHREAD_T(pthread) ((acpi_thread_id) (pthread)) | 107 | #define ACPI_CAST_PTHREAD_T(pthread) ((acpi_thread_id) (pthread)) |
108 | 108 | ||
109 | #if defined(__ia64__) || defined(__x86_64__) || defined(__aarch64__) | 109 | #if defined(__ia64__) || defined(__x86_64__) ||\ |
110 | defined(__aarch64__) || defined(__PPC64__) | ||
110 | #define ACPI_MACHINE_WIDTH 64 | 111 | #define ACPI_MACHINE_WIDTH 64 |
111 | #define COMPILER_DEPENDENT_INT64 long | 112 | #define COMPILER_DEPENDENT_INT64 long |
112 | #define COMPILER_DEPENDENT_UINT64 unsigned long | 113 | #define COMPILER_DEPENDENT_UINT64 unsigned long |