Remove remaining bionic support for TARGET_CPU_SMP being false.
[android-sdk/platform-bionic.git] / libc / private / bionic_atomic_arm.h
index 2156e6a99f1df6f883e2d567b288d9b688a6f93a..0cb832f9757ca4621f5cf31d8a61ade505b892e0 100644 (file)
 #define BIONIC_ATOMIC_ARM_H
 
 __ATOMIC_INLINE__ void __bionic_memory_barrier() {
-#if defined(ANDROID_SMP) && ANDROID_SMP == 1
   __asm__ __volatile__ ( "dmb ish" : : : "memory" );
-#else
-  /* A simple compiler barrier. */
-  __asm__ __volatile__ ( "" : : : "memory" );
-#endif
 }
 
 /* Compare-and-swap, without any explicit barriers. Note that this function