summaryrefslogtreecommitdiffstats
path: root/scripts/atomic/gen-atomic-instrumented.sh
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2022-05-15 20:42:03 +0200
committerPeter Zijlstra <peterz@infradead.org>2022-05-18 00:08:27 +0200
commit0aa7be05d83cc584da0782405e8007e351dfb6cc (patch)
tree738f1ca8c97571ac07ed651abd80dcdd43eb5703 /scripts/atomic/gen-atomic-instrumented.sh
parentfutex: Remove a PREEMPT_RT_FULL reference. (diff)
downloadlinux-0aa7be05d83cc584da0782405e8007e351dfb6cc.tar.xz
linux-0aa7be05d83cc584da0782405e8007e351dfb6cc.zip
locking/atomic: Add generic try_cmpxchg64 support
Add generic support for try_cmpxchg64{,_acquire,_release,_relaxed} and their falbacks involving cmpxchg64. Signed-off-by: Uros Bizjak <ubizjak@gmail.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20220515184205.103089-2-ubizjak@gmail.com
Diffstat (limited to 'scripts/atomic/gen-atomic-instrumented.sh')
-rwxr-xr-xscripts/atomic/gen-atomic-instrumented.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/atomic/gen-atomic-instrumented.sh b/scripts/atomic/gen-atomic-instrumented.sh
index 68f902731d01..77c06526a574 100755
--- a/scripts/atomic/gen-atomic-instrumented.sh
+++ b/scripts/atomic/gen-atomic-instrumented.sh
@@ -166,7 +166,7 @@ grep '^[a-z]' "$1" | while read name meta args; do
done
-for xchg in "xchg" "cmpxchg" "cmpxchg64" "try_cmpxchg"; do
+for xchg in "xchg" "cmpxchg" "cmpxchg64" "try_cmpxchg" "try_cmpxchg64"; do
for order in "" "_acquire" "_release" "_relaxed"; do
gen_xchg "${xchg}" "${order}" ""
printf "\n"