xref: /openbmc/linux/scripts/atomic/fallbacks/set_release (revision 496cc140279b4517a23f4534e468ec9c66283f4b)
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