blob: ea489acc285e5576b5e72c38b81b7dc3ad38161d (
plain)
1
2
3
4
5
6
7
8
9
|
cat <<EOF
static __always_inline ${ret}
${atomic}_${pfx}${name}${sfx}_acquire(${params})
{
${ret} ret = ${atomic}_${pfx}${name}${sfx}_relaxed(${args});
__atomic_acquire_fence();
return ret;
}
EOF
|