blob: b46feb56d69caad27d92b320ff764423d0a1683d [file] [log] [blame]
Mark Rutlandace9bad2018-09-04 11:48:25 +01001cat <<EOF
Marco Elver765dcd22019-11-26 15:04:05 +01002static __always_inline ${ret}
Mark Rutlandf3e615b2021-07-13 11:52:50 +01003arch_${atomic}_${pfx}${name}${sfx}_release(${params})
Mark Rutlandace9bad2018-09-04 11:48:25 +01004{
5 __atomic_release_fence();
Mark Rutlandf3e615b2021-07-13 11:52:50 +01006 ${retstmt}arch_${atomic}_${pfx}${name}${sfx}_relaxed(${args});
Mark Rutlandace9bad2018-09-04 11:48:25 +01007}
8EOF