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