summaryrefslogtreecommitdiff
path: root/scripts/atomic/fallbacks/set_release
blob: 86ede759f24eacdb546bf58a8fe9565e7028e082 (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