History log of /system/core/include/cutils/atomic-mips.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cad56b6ad3ba24d76e073c024aae78d2282058f3 01-Aug-2014 Hans Boehm <hboehm@google.com> Remove android_... store_barriers and 64-bit atomics.

These are no longer used, and we want to strongly discourage future use.
Keep the 32-bit variants while there are still uses. All users should move
to C11 or C++11 atomics.

(Resolved conflicts in atomic-...64.h with uniprocessor support
removal as in AOSP.)

Bug:16880454

Change-Id: I122b541cfd29ef4a6c932647f85d0d6a9d802061
(cherry picked from commit 9959ed953069ac9a7f08bebd2df55440e9370c0f)
/system/core/include/cutils/atomic-mips.h
a74680fcc844fe4dc0707367fc5aa5aaab1927ce 23-Jun-2014 Elliott Hughes <enh@google.com> Remove android_atomic_swap from mips & mips64.

Looks like this got left behind in mips by mistake, and
84c3e9923108122045d689f1d2412359ad5208eb carried this over to mips64.
Clean up before it wastes any more time...

Change-Id: I6aeaa6e68be81f94065589337e2f7d3483e6e43c
/system/core/include/cutils/atomic-mips.h
5206d5971208fab8208669dabc98bbb9f7e4a45a 07-Dec-2012 Ben Cheng <bccheng@google.com> Fail-proof the inline directives for SMP atomic operations.

The various atomic operations are declared as inline in the header files
to cut the function call overhead. However, the plain inline keyword is
just a suggestion to the compiler which makes its own decision on whether
to inline them or not. Worst, if they are not inlined, the
-fvisibility-inlines-hidden compiler flag will render them as hidden
symbols in the object file. If they are picked up by the linker over the
ones supplied in libcutils.so the following warning will be reported:

warning: hidden symbol 'android_atomic_inc' in foo.o is referenced by
DSO bar.so

One way is to add __attribute__((visibility("default"))) to those inline
functions to suppress the linker warnings. A better way is to force
inlining as with this patch.

Change-Id: Ie4fcfdfaaf06f42d351619a0d89671a9df15ca2f
/system/core/include/cutils/atomic-mips.h
096041174b1d8cc09b06c51053b2b7e8545bd93f 25-May-2012 Duane Sand <duanes@mips.com> Add Mips architecture to system/core/include

Change-Id: Ief7bdbd8d09cabe3f11f3ed47a932a7faa81cad9
/system/core/include/cutils/atomic-mips.h