Remove remaining bionic support for TARGET_CPU_SMP being false.
[android-sdk/platform-bionic.git] / libc / private / bionic_atomic_mips.h
index 5e081161d3bc5eac3fb71d2f7a906985f54e0dc0..83f75fe86b9759b351876a99de9a45a3bd4e3364 100644 (file)
  */
 
 __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