read_acquire (4b4193256c8d3bc3a5397b5cd9494c2ad386317d) read_acquire (f3e615b4db1fb7034f1d76dc307b77cc848f040e)
1cat <<EOF
2static __always_inline ${ret}
1cat <<EOF
2static __always_inline ${ret}
3${arch}${atomic}_read_acquire(const ${atomic}_t *v)
3arch_${atomic}_read_acquire(const ${atomic}_t *v)
4{
5 return smp_load_acquire(&(v)->counter);
6}
7EOF
4{
5 return smp_load_acquire(&(v)->counter);
6}
7EOF