summaryrefslogtreecommitdiff
path: root/scripts/atomic/fallbacks/set_release
blob: 45bb5e0cfc08e3bd97aed11b2f1534c941f42729 (plain)
1
2
3
4
5
6
7
cat <<EOF
static inline void
${atomic}_set_release(${atomic}_t *v, ${int} i)
{
	smp_store_release(&(v)->counter, i);
}
EOF