summaryrefslogtreecommitdiffstats
path: root/scripts/atomic/fallbacks/read_acquire
blob: 12fa83cb3a6d1655e164400cf2c1de883aaac225 (plain)
1
2
3
4
5
6
7
cat <<EOF
static __always_inline ${ret}
${atomic}_read_acquire(const ${atomic}_t *v)
{
	return smp_load_acquire(&(v)->counter);
}
EOF