xref: /linux/scripts/atomic/fallbacks/read_acquire (revision ace9bad4df2684f31cbfe8c4ce7a0f5d92b27925)
1*ace9bad4SMark Rutlandcat <<EOF
2*ace9bad4SMark Rutlandstatic inline ${ret}
3*ace9bad4SMark Rutland${atomic}_read_acquire(const ${atomic}_t *v)
4*ace9bad4SMark Rutland{
5*ace9bad4SMark Rutland	return smp_load_acquire(&(v)->counter);
6*ace9bad4SMark Rutland}
7*ace9bad4SMark RutlandEOF
8