summaryrefslogtreecommitdiffstats
path: root/scripts/atomic/fallbacks/release
blob: b46feb56d69caad27d92b320ff764423d0a1683d (plain)
1
2
3
4
5
6
7
8
cat <<EOF
static __always_inline ${ret}
arch_${atomic}_${pfx}${name}${sfx}_release(${params})
{
	__atomic_release_fence();
	${retstmt}arch_${atomic}_${pfx}${name}${sfx}_relaxed(${args});
}
EOF