[PATCH] ACPICA:enable 64bit build for aarch64 architecture

naresh.bhat at linaro.org naresh.bhat at linaro.org
Wed Aug 14 16:46:48 UTC 2013


From: Naresh Bhat <naresh.bhat at linaro.org>

Signed-off-by: Naresh Bhat <naresh.bhat at linaro.org>

Enable 64 bit build for aarch64 architecture in ACPICA Linux
platform specific defines.
---
 src/acpica/source/include/platform/aclinux.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/acpica/source/include/platform/aclinux.h b/src/acpica/source/include/platform/aclinux.h
index e561292..6b8b1ab 100644
--- a/src/acpica/source/include/platform/aclinux.h
+++ b/src/acpica/source/include/platform/aclinux.h
@@ -159,7 +159,7 @@
 #define ACPI_FLUSH_CPU_CACHE()
 #define ACPI_CAST_PTHREAD_T(pthread) ((ACPI_THREAD_ID) (pthread))
 
-#if defined(__ia64__) || defined(__x86_64__)
+#if defined(__ia64__) || defined(__x86_64__) || defined(__aarch64__)
 #define ACPI_MACHINE_WIDTH          64
 #define COMPILER_DEPENDENT_INT64    long
 #define COMPILER_DEPENDENT_UINT64   unsigned long
-- 
1.7.9.5




More information about the fwts-devel mailing list