• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    dmb
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    dmb     st
28#else
29    /* not SMP */
30#endif
31.endm
32