1 /* 2 * =========================================================================== 3 * CPU-version-specific defines 4 * =========================================================================== 5 */ 6 7 #if !defined(ANDROID_SMP) 8 # error "Must define ANDROID_SMP" 9 #endif 10 11 /* 12 * Macro for data memory barrier. 13 */ 14 .macro SMP_DMB 15 #if ANDROID_SMP != 0 16 sync 17 #else 18 /* not SMP */ 19 #endif 20 .endm 21 22 /* 23 * Macro for data memory barrier (store/store variant). 24 */ 25 .macro SMP_DMB_ST 26 #if ANDROID_SMP != 0 27 // FIXME: Is this really needed? 28 sync 29 #else 30 /* not SMP */ 31 #endif 32 .endm 33