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