summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/atomic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/atomic.h b/runtime/atomic.h
index 6867fefb05..1f975dc0ce 100644
--- a/runtime/atomic.h
+++ b/runtime/atomic.h
@@ -196,7 +196,7 @@ class QuasiAtomic {
// Does the architecture provide reasonable atomic long operations or do we fall back on mutexes?
static bool LongAtomicsUseMutexes() {
- return !kNeedSwapMutexes;
+ return kNeedSwapMutexes;
}
static void MembarLoadStore() {