summaryrefslogtreecommitdiff
path: root/scripts/atomic/fallbacks/add_negative
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/atomic/fallbacks/add_negative')
-rwxr-xr-xscripts/atomic/fallbacks/add_negative4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/atomic/fallbacks/add_negative b/scripts/atomic/fallbacks/add_negative
index d0bd2dfbb244..16876118019e 100755
--- a/scripts/atomic/fallbacks/add_negative
+++ b/scripts/atomic/fallbacks/add_negative
@@ -1,7 +1,7 @@
cat <<EOF
static __always_inline bool
-arch_${atomic}_add_negative${order}(${int} i, ${atomic}_t *v)
+raw_${atomic}_add_negative${order}(${int} i, ${atomic}_t *v)
{
- return arch_${atomic}_add_return${order}(i, v) < 0;
+ return raw_${atomic}_add_return${order}(i, v) < 0;
}
EOF