diff options
author | Ankit Jindal <ankit.jindal@linaro.org> | 2014-08-08 16:18:26 +0530 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2014-08-11 14:25:42 +0400 |
commit | c35746580036ca9b6fc9ec172634dfab12237abb (patch) | |
tree | b194d402dd86adf81105f32c21d5711db1aa32cf /include | |
parent | e9e7bc237086d6d07dc004e591063838a12563ed (diff) |
Add write memory barrier for aarch64
This patch updates odp_sync_stores routine to add write memory barrier for
aarch64.
Signed-off-by: Ankit Jindal <ankit.jindal@linaro.org>
Signed-off-by: Tushar Jagad <tushar.jagad@linaro.org>
Reviewed-by: Anders Roxell <anders.roxell@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/odp_sync.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/odp_sync.h b/include/odp_sync.h index c106c75f..9cf4d462 100644 --- a/include/odp_sync.h +++ b/include/odp_sync.h @@ -31,7 +31,7 @@ static inline void odp_sync_stores(void) __asm__ __volatile__ ("sfence\n" : : : "memory"); -#elif defined __arm__ +#elif defined __arm__ || defined __aarch64__ __asm__ __volatile__ ("dmb st" : : : "memory"); |