summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src/kmp_lock.cpp
diff options
context:
space:
mode:
authorAndrey Churbanov <Andrey.Churbanov@intel.com>2015-01-13 14:43:35 +0000
committerAndrey Churbanov <Andrey.Churbanov@intel.com>2015-01-13 14:43:35 +0000
commitcbda868206d5fd866c1e1a193c2f92273d3c46ee (patch)
tree6ad7988377772afa1adc5ea07f05fae9ff21c12e /openmp/runtime/src/kmp_lock.cpp
parenta168ef753f8b1d25208a9a5415a36a6b374f0f8a (diff)
downloadbcm5719-llvm-cbda868206d5fd866c1e1a193c2f92273d3c46ee.tar.gz
bcm5719-llvm-cbda868206d5fd866c1e1a193c2f92273d3c46ee.zip
aarch64 port sent by C. Bergstrom
llvm-svn: 225792
Diffstat (limited to 'openmp/runtime/src/kmp_lock.cpp')
-rw-r--r--openmp/runtime/src/kmp_lock.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/openmp/runtime/src/kmp_lock.cpp b/openmp/runtime/src/kmp_lock.cpp
index 679d7e935c5..84b9336d62e 100644
--- a/openmp/runtime/src/kmp_lock.cpp
+++ b/openmp/runtime/src/kmp_lock.cpp
@@ -23,7 +23,7 @@
#include "kmp_lock.h"
#include "kmp_io.h"
-#if KMP_OS_LINUX && (KMP_ARCH_X86 || KMP_ARCH_X86_64 || KMP_ARCH_ARM)
+#if KMP_OS_LINUX && (KMP_ARCH_X86 || KMP_ARCH_X86_64 || KMP_ARCH_ARM || KMP_ARCH_AARCH64)
# include <unistd.h>
# include <sys/syscall.h>
// We should really include <futex.h>, but that causes compatibility problems on different
@@ -359,7 +359,7 @@ __kmp_destroy_nested_tas_lock_with_checks( kmp_tas_lock_t *lck )
}
-#if KMP_OS_LINUX && (KMP_ARCH_X86 || KMP_ARCH_X86_64 || KMP_ARCH_ARM)
+#if KMP_OS_LINUX && (KMP_ARCH_X86 || KMP_ARCH_X86_64 || KMP_ARCH_ARM || KMP_ARCH_AARCH64)
/* ------------------------------------------------------------------------ */
/* futex locks */
OpenPOWER on IntegriCloud