summaryrefslogtreecommitdiffstats
path: root/scripts/atomic/fallbacks/dec
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/atomic/fallbacks/dec')
-rwxr-xr-xscripts/atomic/fallbacks/dec4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/atomic/fallbacks/dec b/scripts/atomic/fallbacks/dec
index 118282f3a5a3..e2e01f0574bb 100755
--- a/scripts/atomic/fallbacks/dec
+++ b/scripts/atomic/fallbacks/dec
@@ -1,7 +1,7 @@
cat <<EOF
static __always_inline ${ret}
-${atomic}_${pfx}dec${sfx}${order}(${atomic}_t *v)
+${arch}${atomic}_${pfx}dec${sfx}${order}(${atomic}_t *v)
{
- ${retstmt}${atomic}_${pfx}sub${sfx}${order}(1, v);
+ ${retstmt}${arch}${atomic}_${pfx}sub${sfx}${order}(1, v);
}
EOF