summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2014-01-22 19:04:28 -0800
committerColin Cross <ccross@android.com>2014-01-22 19:04:28 -0800
commit3510637c85a93b3e535482822e7b57693a22d6ac (patch)
treed03c9f840850fe09c2e75508c21a2c7cde27c849
parent1db584b899dffca884c3842c07da189f7c9af470 (diff)
downloadsystem_core-3510637c85a93b3e535482822e7b57693a22d6ac.zip
system_core-3510637c85a93b3e535482822e7b57693a22d6ac.tar.gz
system_core-3510637c85a93b3e535482822e7b57693a22d6ac.tar.bz2
libcutils: fix atomic_memory_store_barrier
dmb isht is not a valid instruction, fix it to be dmb ishst (data memory barrier, inner shareable, on writes). Change-Id: I98723ccd8618b7863cb55da53dc29b979c9905a5
-rw-r--r--include/cutils/atomic-aarch64.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cutils/atomic-aarch64.h b/include/cutils/atomic-aarch64.h
index 927379f..4562ad0 100644
--- a/include/cutils/atomic-aarch64.h
+++ b/include/cutils/atomic-aarch64.h
@@ -66,7 +66,7 @@ void android_memory_barrier(void)
extern ANDROID_ATOMIC_INLINE
void android_memory_store_barrier(void)
{
- __asm__ __volatile__ ("dmb isht" : : : "memory");
+ __asm__ __volatile__ ("dmb ishst" : : : "memory");
}
#endif