Sign in
android-kvm
/
linux
/
refs/heads/for-demo/sept-22-base
/
.
/
scripts
/
atomic
/
fallbacks
/
acquire
blob: 59c00529dc7cf65d0f3cfe0aca8c8ddf5bdbc576 [
file
] [
log
] [
blame
] [
edit
]
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