Sign in
android-kvm
/
linux
/
0ae865ef92f1920bd2ca3fc7b6b5a9555b4641cc
/
.
/
scripts
/
atomic
/
fallbacks
/
set_release
blob: 76068272d5f52f5a8e7ff72b8ef587bb24a707dd [
file
] [
log
] [
blame
]
cat
<<
EOF
static
__always_inline
void
$
{
arch
}
$
{
atomic
}
_set_release
(
$
{
atomic
}
_t
*
v
,
$
{
int
}
i
)
{
smp_store_release
(&(
v
)->
counter
,
i
);
}
EOF