Sign in
android-kvm
/
linux
/
29a951dfb3c3263c3a0f3bd9f7f2c2cfde4baedb
/
.
/
scripts
/
atomic
/
fallbacks
/
read_acquire
blob: 341a88dccaa7e3e58a4ff6615acd7eff451bd30d [
file
] [
log
] [
blame
]
cat
<<
EOF
static
__always_inline $
{
ret
}
$
{
arch
}
$
{
atomic
}
_read_acquire
(
const
$
{
atomic
}
_t
*
v
)
{
return
smp_load_acquire
(&(
v
)->
counter
);
}
EOF