2018-09-04 11:48:25 +01:00
|
|
|
cat <<EOF
|
2019-11-26 15:04:05 +01:00
|
|
|
static __always_inline ${ret}
|
2020-01-24 22:13:03 +01:00
|
|
|
${arch}${atomic}_${pfx}${name}${sfx}_release(${params})
|
2018-09-04 11:48:25 +01:00
|
|
|
{
|
|
|
|
|
__atomic_release_fence();
|
2020-01-24 22:13:03 +01:00
|
|
|
${retstmt}${arch}${atomic}_${pfx}${name}${sfx}_relaxed(${args});
|
2018-09-04 11:48:25 +01:00
|
|
|
}
|
|
|
|
|
EOF
|