Sign in
linux
/
linux
/
kernel
/
git
/
bpf
/
bpf-next
/
a1a6e7217eacf2c19a518d3adbe8ae3b4fd93a73
/
.
/
scripts
/
atomic
/
fallbacks
/
read_acquire
blob: 803ba75610766e0be35e1fcc7e4fb72f00c4e560 [
file
] [
log
] [
blame
]
cat
<<
EOF
static
__always_inline $
{
ret
}
arch_$
{
atomic
}
_read_acquire
(
const
$
{
atomic
}
_t
*
v
)
{
return
smp_load_acquire
(&(
v
)->
counter
);
}
EOF