summaryrefslogtreecommitdiffstats
path: root/runtime/atomic.h
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2014-02-20 22:59:47 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-02-20 22:59:47 +0000
commit0b2b3dbaa3db62c0af0d2f23f6aa1c539afe7443 (patch)
tree6880465c7a36a2ed6f46b9321f9cf96512dcb9aa /runtime/atomic.h
parentf28072fdb6904ff6f715b1518a07e8efb897697f (diff)
parent936b37f3a7f224d990a36b2ec66782a4462180d6 (diff)
downloadart-0b2b3dbaa3db62c0af0d2f23f6aa1c539afe7443.tar.gz
art-0b2b3dbaa3db62c0af0d2f23f6aa1c539afe7443.tar.bz2
art-0b2b3dbaa3db62c0af0d2f23f6aa1c539afe7443.zip
Merge "Upcall support for x86-64."
Diffstat (limited to 'runtime/atomic.h')
-rw-r--r--runtime/atomic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/atomic.h b/runtime/atomic.h
index b099a9ca32..795f917841 100644
--- a/runtime/atomic.h
+++ b/runtime/atomic.h
@@ -96,7 +96,7 @@ typedef Atomic<int32_t> AtomicInteger;
// quasiatomic operations that are performed on partially-overlapping
// memory.
class QuasiAtomic {
-#if !defined(__arm__) && !defined(__i386__)
+#if defined(__mips__) && !defined(__LP64__)
static constexpr bool kNeedSwapMutexes = true;
#else
static constexpr bool kNeedSwapMutexes = false;