xref: /linux/scripts/atomic/fallbacks/read_acquire (revision 71e2f4dd5a65bd8dbca0b77661e75eea471168f8)
1cat <<EOF
2static inline ${ret}
3${atomic}_read_acquire(const ${atomic}_t *v)
4{
5	return smp_load_acquire(&(v)->counter);
6}
7EOF
8