Sign in
android-kvm
/
linux
/
9257959a6e5b4fca6fc8e985790bff62c2046f20
/
.
/
scripts
/
atomic
/
fallbacks
/
inc_not_zero
blob: e02206d017f629944d92a0c649ea50fb65369a98 [
file
] [
log
] [
blame
]
cat
<<
EOF
static
__always_inline
bool
raw_$
{
atomic
}
_inc_not_zero
(
$
{
atomic
}
_t
*
v
)
{
return
raw_$
{
atomic
}
_add_unless
(
v
,
1
,
0
);
}
EOF