Sign in
android-kvm
/
linux
/
7137d8b084e2d7d515e550f7268e2c907527a6d2
/
.
/
scripts
/
atomic
/
fallbacks
/
set_release
blob: 16a374ae6bb16bf0094dcf309d8ae5537e6d1b42 [
file
] [
log
] [
blame
]
cat
<<
EOF
if
(
__native_word
(
$
{
atomic
}
_t
))
{
smp_store_release
(&(
v
)->
counter
,
i
);
}
else
{
__atomic_release_fence
();
raw_$
{
atomic
}
_set
(
v
,
i
);
}
EOF