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