Clean up the pthread-only atomic stuff a little.
It looks like we can probably just use the generic GCC stuff instead; the generated code looks pretty similar. We should come back to that. These routines are only used by the pthread implementation, and __bionic_atomic_inc isn't used, so we can remove it. Change-Id: I8b5b8cb30a1b159f0e85c3675aee06ddef39b429
This commit is contained in:
@@ -23,11 +23,6 @@
|
||||
* memory barrier needs to be issued inline rather than as a function
|
||||
* call.
|
||||
*
|
||||
* Most code should not use these.
|
||||
*
|
||||
* Anything that does include this file must set ANDROID_SMP to either
|
||||
* 0 or 1, indicating compilation for UP or SMP, respectively.
|
||||
*
|
||||
* Macros defined in this header:
|
||||
*
|
||||
* void ANDROID_MEMBAR_FULL(void)
|
||||
|
Reference in New Issue
Block a user