Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
kernel
/
msm-5.4
/
57f5cf6ed8bdbbcb1abf3477beeac199dcdba316
/
.
/
scripts
/
atomic
/
fallbacks
/
read_acquire
blob: 75863b5203f74e38706f309a7c8a66d2611f9c31 [
file
] [
log
] [
blame
]
cat
<<
EOF
static
inline
$
{
ret
}
$
{
atomic
}
_read_acquire
(
const
$
{
atomic
}
_t
*
v
)
{
return
smp_load_acquire
(&(
v
)->
counter
);
}
EOF