diff options
| author | Serban Constantinescu <serban.constantinescu@arm.com> | 2013-12-19 11:57:10 +0000 |
|---|---|---|
| committer | Elliott Hughes <enh@google.com> | 2013-12-19 11:39:01 -0800 |
| commit | 845c778fa6ebb3ff3feaac0c268d93f4017c0cda (patch) | |
| tree | 1c38223ae764a3cb90650a916af849f64b8a00be /libc/private/bionic_atomic_gcc_builtin.h | |
| parent | 1afb375d30cadf5dfcb5dfe352527e2a1147c79f (diff) | |
| download | bionic-845c778fa6ebb3ff3feaac0c268d93f4017c0cda.zip bionic-845c778fa6ebb3ff3feaac0c268d93f4017c0cda.tar.gz bionic-845c778fa6ebb3ff3feaac0c268d93f4017c0cda.tar.bz2 | |
ARM: Change dmb domain for bionic_atomic_barrier()
This patch changes the domain that the memory barrier operates on. Assumes
that the scope of bionic_atomic_barrier() does not include device memory,
memory shared with the GPU or any other memory external to the processor
cluster.
Change-Id: I291e741c98a64c86f3a3cf99811bbf1e714ac9aa
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
Diffstat (limited to 'libc/private/bionic_atomic_gcc_builtin.h')
| -rw-r--r-- | libc/private/bionic_atomic_gcc_builtin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/private/bionic_atomic_gcc_builtin.h b/libc/private/bionic_atomic_gcc_builtin.h index 9e5e5aa..70eb861 100644 --- a/libc/private/bionic_atomic_gcc_builtin.h +++ b/libc/private/bionic_atomic_gcc_builtin.h @@ -25,7 +25,7 @@ * the architecture-specific assembler versions. */ -__ATOMIC_INLINE__ void __bionic_memory_barrier(void) { +__ATOMIC_INLINE__ void __bionic_memory_barrier() { __sync_synchronize(); } |
