xref: /linux/scripts/atomic/fallbacks/set_release (revision f3e615b4db1fb7034f1d76dc307b77cc848f040e)
1ace9bad4SMark Rutlandcat <<EOF
2765dcd20SMarco Elverstatic __always_inline void
3*f3e615b4SMark Rutlandarch_${atomic}_set_release(${atomic}_t *v, ${int} i)
4ace9bad4SMark Rutland{
5ace9bad4SMark Rutland	smp_store_release(&(v)->counter, i);
6ace9bad4SMark Rutland}
7ace9bad4SMark RutlandEOF
8