xref: /linux/scripts/atomic/fallbacks/set_release (revision 32d7e03d26fd93187c87ed0fbf59ec7023a61404)
1cat <<EOF
2static __always_inline void
3arch_${atomic}_set_release(${atomic}_t *v, ${int} i)
4{
5	smp_store_release(&(v)->counter, i);
6}
7EOF
8