blob: 59c00529dc7cf65d0f3cfe0aca8c8ddf5bdbc576 (
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
|