1 #ifndef JEMALLOC_INTERNAL_ATOMIC_EXTERNS_H
2 #define JEMALLOC_INTERNAL_ATOMIC_EXTERNS_H
3 
4 #pragma GCC visibility push(hidden)
5 
6 #if (LG_SIZEOF_PTR == 3 || LG_SIZEOF_INT == 3)
7 #define	atomic_read_u64(p)	atomic_add_u64(p, 0)
8 #endif
9 #define	atomic_read_u32(p)	atomic_add_u32(p, 0)
10 #define	atomic_read_p(p)	atomic_add_p(p, NULL)
11 #define	atomic_read_zu(p)	atomic_add_zu(p, 0)
12 #define	atomic_read_u(p)	atomic_add_u(p, 0)
13 
14 #pragma GCC visibility pop
15 
16 #endif /* JEMALLOC_INTERNAL_ATOMIC_EXTERNS_H */
17