hc
2024-07-16 1704a4ce91d494c7b0698b3cd7108a624fe36288
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