summaryrefslogtreecommitdiff
path: root/scripts/atomic/fallbacks/release
blob: a1604df66eced94e80cdb918f48e33ea6e4f02c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
if /bin/sh ${ATOMICDIR}/chkdup.sh arch_${atomic}_${pfx}${name}${sfx}_release release
then
acqrel=release
. ${ATOMICDIR}/acqrel.sh
fi
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