aboutsummaryrefslogtreecommitdiffstats
path: root/libcutils/atomic.c
diff options
context:
space:
mode:
authorAndroid Code Review <code-review@android.com>2009-09-17 14:04:33 -0700
committerAndroid Code Review <code-review@android.com>2009-09-17 14:04:33 -0700
commit808c89e1207fe3a60b6f8c3b03d3c65fcc7defbe (patch)
tree004ce6de874036bc3b3e9ee75496def6ddfb2093 /libcutils/atomic.c
parent102f6d2c64bbf55e1ec47061a0bc0bcd24991127 (diff)
parentc6af9114fc63accef839c2a413e18ab058f0beff (diff)
downloadsystem_core-808c89e1207fe3a60b6f8c3b03d3c65fcc7defbe.tar.gz
system_core-808c89e1207fe3a60b6f8c3b03d3c65fcc7defbe.tar.bz2
system_core-808c89e1207fe3a60b6f8c3b03d3c65fcc7defbe.zip
Merge change 10445
* changes: added SuperH atomic support to libcutils
Diffstat (limited to 'libcutils/atomic.c')
-rw-r--r--libcutils/atomic.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcutils/atomic.c b/libcutils/atomic.c
index 65d7af0a..41faaa28 100644
--- a/libcutils/atomic.c
+++ b/libcutils/atomic.c
@@ -245,6 +245,10 @@ int64_t android_quasiatomic_read_64(volatile int64_t* addr) {
return result;
}
+/*****************************************************************************/
+#elif __sh__
+// implementation for SuperH is in atomic-android-sh.c.
+
#else
#error "Unsupported atomic operations for this platform"