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