| commit | 63c5dd056fa20993b35ec5c8548b26c988445763 | [log] [tgz] |
|---|---|---|
| author | Ian Rogers <irogers@google.com> | Mon May 19 22:55:00 2014 -0700 |
| committer | Ian Rogers <irogers@google.com> | Mon May 19 22:55:00 2014 -0700 |
| tree | 53a306489c89fa69a756e37fbcaebffcfac04a82 | |
| parent | 1a5ff7c3a6508deacd3fd6473de80c62f7316a81 [diff] |
Fix the sense of when mutexes are used for longs in atomic support. Change-Id: Ice50519a511e98fdc2fe74cd9eb77c32872022b4
diff --git a/runtime/atomic.h b/runtime/atomic.h index 6867fef..1f975dc 100644 --- a/runtime/atomic.h +++ b/runtime/atomic.h
@@ -196,7 +196,7 @@ // 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() {