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