summaryrefslogtreecommitdiffstats
path: root/scripts/atomic/fallbacks/acquire
blob: ef764085c79aa290ec537ce3771abfef6761c309 (plain)
1
2
3
4
5
6
7
8
9
cat <<EOF
static __always_inline ${ret}
arch_${atomic}_${pfx}${name}${sfx}_acquire(${params})
{
	${ret} ret = arch_${atomic}_${pfx}${name}${sfx}_relaxed(${args});
	__atomic_acquire_fence();
	return ret;
}
EOF