Remove remaining bionic support for TARGET_CPU_SMP being false.

Change-Id: I02a0a1c0ae55ccb5c45d17fb99a09c374d71def4
This commit is contained in:
Elliott Hughes
2014-11-17 10:06:20 -08:00
parent eef1eb64bb
commit bfbf7a4300
5 changed files with 0 additions and 26 deletions

View File

@@ -21,12 +21,7 @@
*/
__ATOMIC_INLINE__ void __bionic_memory_barrier() {
#if defined(ANDROID_SMP) && ANDROID_SMP == 1
__asm__ __volatile__ ( "sync" : : : "memory" );
#else
/* A simple compiler barrier. */
__asm__ __volatile__ ( "" : : : "memory" );
#endif
}
/* Compare-and-swap, without any explicit barriers. Note that this function