projects
/
platform
/
kernel
/
linux-rpi.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge tag 'mfd-fixes-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd
[platform/kernel/linux-rpi.git]
/
scripts
/
atomic
/
fallbacks
/
try_cmpxchg
1
cat <<EOF
2
${int} r, o = *old;
3
r = raw_${atomic}_cmpxchg${order}(v, o, new);
4
if (unlikely(r != o))
5
*old = r;
6
return likely(r == o);
7
EOF