summaryrefslogtreecommitdiffstats
path: root/scripts/atomic/fallbacks/sub_and_test
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/atomic/fallbacks/sub_and_test')
-rwxr-xr-xscripts/atomic/fallbacks/sub_and_test4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/atomic/fallbacks/sub_and_test b/scripts/atomic/fallbacks/sub_and_test
index da8a049c9b02..8975a496d495 100755
--- a/scripts/atomic/fallbacks/sub_and_test
+++ b/scripts/atomic/fallbacks/sub_and_test
@@ -1,7 +1,7 @@
cat <<EOF
static __always_inline bool
-arch_${atomic}_sub_and_test(${int} i, ${atomic}_t *v)
+raw_${atomic}_sub_and_test(${int} i, ${atomic}_t *v)
{
- return arch_${atomic}_sub_return(i, v) == 0;
+ return raw_${atomic}_sub_return(i, v) == 0;
}
EOF