Sign in
cos
/
third_party
/
kernel
/
6c339f37f1cd9b910f4c04b14079b1663b685c4d
/
.
/
scripts
/
atomic
/
fallbacks
/
inc
blob: 15ec62946e8ce52f77ea91d36a55ffe0cbec403a [
file
]
cat
<<
EOF
static
__always_inline $
{
ret
}
$
{
arch
}
$
{
atomic
}
_$
{
pfx
}
inc$
{
sfx
}
$
{
order
}(
$
{
atomic
}
_t
*
v
)
{
$
{
retstmt
}
$
{
arch
}
$
{
atomic
}
_$
{
pfx
}
add$
{
sfx
}
$
{
order
}(
1
,
v
);
}
EOF