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